mirror of
https://github.com/crazybber/awesome-patterns.git
synced 2024-11-25 14:26:04 +03:00
7 lines
376 B
Markdown
7 lines
376 B
Markdown
|
# Object Pool Pattern
|
||
|
|
||
|
The [object pool design pattern](https://en.wikipedia.org/wiki/Object_pool_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](object_pool.go).
|