|
|
|
|
|
by lou1306
9 days ago
|
|
Question from someone trying to get better at Go: _before_ going all in with unsafe pointer operations, would it make sense to write a function harness & profile it with/without the -B flag to determine the actual impact of bounds check? |
|
And as the essay mentions there are also “hints” you can give the compiler to fold bounds checks which may be sufficient.