Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 376 Bytes

object_pool.md

File metadata and controls

7 lines (4 loc) · 376 Bytes

Object Pool Pattern

The object pool design pattern allows multiple instances to be kept in a collection ("pool") in order to have already been initialized when other instances are ready to use them.

Implementation and Example

An example with implementation and usage can be found in object_pool.go.