Re:Copying data is wasteful, mutating data is dangerous
by C4stor on Thursday January 09, 2020 @02:22PM
(#22004520)
On certain use cases, you can use a pool of objects, creating long lived objects drawn and return to a pool, reusing the memory efficiently with minimal overhead. Of course, you need to be able to size such a pool to begin with.
Disclaimer : I have no experience with game development whatsoever !
Disclaimer : I have no experience with game development whatsoever !