What did you do?
I compiled the following program to see its assembly code: https://godbolt.org/z/OcRvPE
What did you expect to see?
I expected the access to the slice to not be bounds checked
What did you see instead?
A bounds check was generated by the Go compiler
What did you do?
I compiled the following program to see its assembly code: https://godbolt.org/z/OcRvPE
What did you expect to see?
I expected the access to the slice to not be bounds checked
What did you see instead?
A bounds check was generated by the Go compiler