Incremental Garbage Collector in PyPy
morepypy.blogspot.com
morepypy.blogspot.com
Aside: Please never rely on your users being able to tell which colour is which on a graph. Use a different dashing or something.
It was fairly obvious, but I kinda feel the need to point this out whenever it's happening :)
As an additional question: are there any more details about Raspberry Pi Foundation collaboration? I mean, are there specific projects / codebases they're interested in using PyPy, or was just general donation as a project that should fit well?
Is it possible to call the garbage collection at a certain time? For games, a common place to do these book keeping tasks is when the app is blocking on vsync screen refresh. Or even when the main action has finished. Say between levels in games, or at the end of an animation, or when waiting for a triggered event to happen (say for robots in a factory). Other real time systems do GC in other threads... so maybe this could be a win for pypy too?
Is JIT a similar thing? Does that cause pauses too?
import gc; gc.collect()