See: 4-improved.js
Signature poolify(factory, min, norm, max)
factory
- call to instantiate pool itemmin
- minimum amount to allocate newnorm
- preallocated amountmax
- maximum amount to limit pool
Object Pool
See: 4-improved.js
Signature poolify(factory, min, norm, max)
factory
- call to instantiate pool itemmin
- minimum amount to allocate newnorm
- preallocated amountmax
- maximum amount to limit poolObject Pool
https://www.youtube.com/TimurShemsedinov
MIT License