polymer icon indicating copy to clipboard operation
polymer copied to clipboard

Implement Object Pool & Memory Pool

Open ddiakopoulos opened this issue 6 years ago • 0 comments

  • Object pool (arena?)
  • Memory pool
  • ~~Component pool~~
  • ~~Alligned allocator~~

A generic memory pool is relatively simple and useful enough that Polymer should have one even though it's not presently required for any in-engine features.

While component pools and hash tables provide most of the heavy lifting for the ECS functionality, an object pool can still be useful (i.e. objects that wrap third-party functionality like physics).

Reference: https://github.com/mtrebi/memory-allocators

ddiakopoulos avatar Apr 10 '18 18:04 ddiakopoulos