3 ms·
Core game code commonly uses custom allocators that do provide those semantics though. A bump allocator that you reset every frame is O(1) and a dozen or so cy
by monocasa 6y ago
Core game code commonly uses custom allocators that do provide those semantics though.
A bump allocator that you reset every frame is O(1) and a dozen or so cycles per allocation for example.
- moonchild 6y agoSure, yes. I was referring more to ‘general-purpose dynamic allocator’ (malloc or so). I agree custom memory management/reclamation techniques can be fine for RT; just semantics.