Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 621 Bytes

pooling.md

File metadata and controls

11 lines (8 loc) · 621 Bytes

Title: Pooling aka Memory Pooling Desc: aah framework uses the memory pooling to reduce GC overhead for heap allocation and garbage collection. Keywords: pooling, memory pooling, object pooling, gc, garbage collection, heap allocation

Pooling aka Memory Pooling

aah effectively uses the sync.Pool appropriately where it's required for memory pooling to reduce overhead on heap allocation and garbage collection.

A Pool set of objects that may be individually saved and retrieved. A Pool is safe from by multiple goroutines simultaneously.

Read more about sync.Pool here.