Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strconv: optimize Atoi for common case #20557

Closed
valyala opened this issue Jun 2, 2017 · 1 comment
Closed

strconv: optimize Atoi for common case #20557

valyala opened this issue Jun 2, 2017 · 1 comment

Comments

@valyala
Copy link
Contributor

valyala commented Jun 2, 2017

Currently strconv.Atoi isn't optimized for common case when non-negative value is passed to it. Let's optimize it for this case, so users won't recommend creating custom atoi functions such as https://stackoverflow.com/a/27217267 .

The corresponding CL is coming soon.

@gopherbot
Copy link

CL https://golang.org/cl/44692 mentions this issue.

@dsnet dsnet added this to the Go1.10 milestone Jun 3, 2017
@golang golang locked and limited conversation to collaborators Aug 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants