Notes from Optimizing CPU-Bound Go Hot Paths

Lessons from porting Brotli to pure Go. Why generics, interface dispatch, and closures cost performance on hot paths, and what to do instead.