by Panzerschrek · 1mo ago · 0 comments
In such case stack-like allocator isn't the best strategy. One can use some sort of cyclic allocator instead. As I know Quake did this for surfaces cache.
[1] https://github.com/id-Software/Quake-III-Arena/blob/master/c...