Generation 0's 700-Object Threshold: Why It's Key

Python's GC triggers a Generation 0 collection after 700 net new objects, optimizing for the "generational hypothesis" that most objects are short-lived and should be frequently collected to reclaim memory efficiently.

Sources

Open the full topic