2 ms·
If you cannot be certain how long garbage collection will run, it is almost certainly a bad idea to have it in a game. Most times it may run in 200 micro-secon
by Aeolun 7y ago
If you cannot be certain how long garbage collection will run, it is almost certainly a bad idea to have it in a game.
Most times it may run in 200 micro-seconds, but the one time it takes 20ms the user suffers from unacceptable stutter.
I can see how people would want to bypass the problem entirely by being a bit more careful up front.