YTUnity logo

Welcome to YTUnity

One free SpiderTaz Network account works across every network site.

justforfunc #37: sync.Pool from the pool

justforfunc: Programming in Go Podcast 8 years ago

Description

It's summer and I love hanging out by the pool ...
so it's just logic that I would make an episode about sync.Pool!

In this episode we learn how to measure how many memory allocations a program is performing and how to reduce them thanks to sync.Pool, as well as how to identify which piece of your code is
allocating the memory thanks to pprof.

source code: https://github.com/campoy/justforfunc/tree/master/37-sync-pool

Featured creators

Creators on the SpiderTaz Network

Become a creator →