Practice
Learn
← Quit
0 / 0 correct
Go
Hard
1 of 156
What is sync.Pool for, and what's a caveat?
A
A goroutine pool
B
A connection pool for databases
C
Reusing temporary objects (e.g. buffers) to reduce GC pressure; pooled objects may be dropped at any GC, so it's not a cache
D
A permanent object cache