5 ms·
If you're allocating stuff every frame you'll run into problems quickly. Sure, you can use an object pool or arena allocator, but then you're basically circumve
by martindbp 11mo ago
If you're allocating stuff every frame you'll run into problems quickly. Sure, you can use an object pool or arena allocator, but then you're basically circumventing GC.
- yencabulator 11mo agomalloc often isn't fast enough for games either; arena allocators and ECS came to be for a reason.