Custom Allocation


From the Boost Statechart Performance page…

https://www.boost.org/doc/libs/1_70_0/libs/statechart/doc/performance.html#MemoryManagementCustomization


The most interesting candidate at this point is TLSF (Two Level Segregate Fit) due to it’s real-time capabilities…

http://www.gii.upv.es/tlsf/


I also imagine that we would try to imitate the gaming industry and come up with a toolset of allocators to meet various development needs…

  • Stomp allocators for finding memory leaks…
  • Memory Pool allocators for Persistant vs Temporal objects
  • Small block allocators for events
  • Large block allocators for things like point clouds..
  • etc.

https://stackoverflow.com/questions/826569/compelling-examples-of-custom-c-allocators

https://github.com/electronicarts/EASTL