Reading up on Brotli
2 deep · digging since feb 24
- 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.
- Dictionary Compression is finally here, and it's ridiculously good
Dictionary compression using Zstandard or Brotli can reduce web traffic by up to 90% for returning users by leveraging previously downloaded content as a shared dictionary.