Reading up on encoding/binary
1 deep · digging since sep 09
- Eliminating Go bounds checks with unsafe
The article shows how using Go's unsafe package to perform pointer arithmetic can eliminate bounds checks in hot paths, yielding over 2x speedup in benchmarks.