Open maltebp opened 3 years ago
A lot of small memory allocations with the lifetime of a single frame may be allocated. With some simple customized memory management, we can optimize these smaller allocations by recycling the them instead of reallocating them every frame.
Comments on overloading new: https://stackoverflow.com/questions/8620940/using-a-vector-in-a-custom-memory-manager Nice article: https://developer.ibm.com/technologies/systems/tutorials/au-memorymanager/
A lot of small memory allocations with the lifetime of a single frame may be allocated. With some simple customized memory management, we can optimize these smaller allocations by recycling the them instead of reallocating them every frame.
Comments on overloading new: https://stackoverflow.com/questions/8620940/using-a-vector-in-a-custom-memory-manager Nice article: https://developer.ibm.com/technologies/systems/tutorials/au-memorymanager/