4 ms·
A limit on GC time might then obviously lead to high or too high memory use, potentially?
by hubert123 10y ago
A limit on GC time might then obviously lead to high or too high memory use, potentially?
- Meegul 10y agoNot OP or aware of Nim's specific implementation, but in some cases, yes. However in a fps-sensitive situation like a game, it just takes ~16ms of GC before you've missed at least one refresh. By limiting the time to something lower, we can distribute this time such that the user doesn't notice any stuttering, provided the GC events were spaced out enough.