4 ms·
If you don’t create any GC-able objects in the loop, why would you need to call the GC? And if you are, that should involve a function call. And if you do need
by chipsa 1y ago
If you don’t create any GC-able objects in the loop, why would you need to call the GC? And if you are, that should involve a function call.
And if you do need to call the GC, you could manually insert function calls every x loop iterations.