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?
to your account
$ go version
go version devel +2197321 Tue Oct 8 23:53:55 2019 +0000 linux/amd64
I compiled the following functions to check if there were any bounds checks: https://godbolt.org/z/RSrNwR.
I expected to see no bounds checks.
Instead, I see 7 different bounds checks generated by the Go compiler (highlighted in the site above).
I talked with @zdjones about this and it appears like all these bounds checks can be removed.
The text was updated successfully, but these errors were encountered:
No branches or pull requests