Reverting the incremental GC in Python 3.14 and 3.15

As requested by @hugovk, I started a new topic yesterday to discuss ideas for rehabilitating inc gc:

He wants to keep this topic focused on 3.14/3.15. So please continue this in the new topic (or create your own).

@nas already posted a patch there that that does that (plus some more)..

It’s nevertheless a major improvement (slashing peak memory use) on the stress tests we have so far. A promising start :smiling_face:.

@nas;a original 3-gen design was focused on timely collection of shorter-lived cycles, and I’m confident that moving, as you suggest, back closer to that will pay off. It’s the gen2 collections that caused “long pauses”.

3 Likes

As requested by this topic’s author, and acknowledged by participants, please take development talk for improving the incremental GC to Improving incremental gc.