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