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.
Open the full topic