3 ms·
I believe that there are certain situations where one may choose between scope-based memory management and arena-based. Even for the example of the rendering co
by tsimionescu 4y ago
I believe that there are certain situations where one may choose between scope-based memory management and arena-based. Even for the example of the rendering code of a frame, instead of allocating inside an arena, you could choose to allocate an object graph owned by some frame-level object, that is de-allocated once the frame is rendered.