Practice
Learn
← Quit
0 / 0 correct
Go
Hard
1 of 20
What is sync.Pool for, and what's a caveat?
A
A connection pool for databases
B
A permanent object cache
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 goroutine pool