sync.Pool in Go: When It Actually Helps, and When It Quietly Hurts
sync.Pool is one of those Go features that shows up prominently in "how to write fast Go" blog posts and then gets applied to everything. The result is a codebase sprinkled with pools that don't help and sometimes hurt. Most Go code I review does not...
harrisonsec.hashnode.dev7 min read