blog.andr2i.com
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.
One line. Many voicesSeek and you shall find
blog.andr2i.com
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.