justforfunc #37: sync.Pool from the pool
justforfunc: Programming in Go · 27:10
Francesc Campoy (justforfunc episode 37) uses a small GitHub-webhook server to show how sync.Pool can reuse objects and cut allocations. Pooled objects must be reset before reuse. The pool helps most when each pooled...