mirror of
https://github.com/tmrts/go-patterns.git
synced 2025-04-02 20:56:12 +03:00
Object pool markdown.
This commit is contained in:
parent
ce288860af
commit
a05848d1ed
1 changed files with 7 additions and 0 deletions
7
creational/object_pool.md
Normal file
7
creational/object_pool.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# 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).
|
Loading…
Add table
Reference in a new issue