4 ms·
> When games load in assets they'll do various things like malloc huge chunks and you lose a few frames. Streaming/Loading assets in the main render thread is
by blattimwind 8y ago
> When games load in assets they'll do various things like malloc huge chunks and you lose a few frames.
Streaming/Loading assets in the main render thread is a very 2005 thing to do.
- vvanders 8y agoYeah, the whole reason you have pools and arena allocators is so that you don't do small/large malloc mid-frame. Perf 101 is don't malloc during regular gameplay.