• Antoine Pitrou's avatar
    Issue #4688: Add a heuristic so that tuples and dicts containing only · f8387af2
    Antoine Pitrou yazdı
    untrackable objects are not tracked by the garbage collector. This can
    reduce the size of collections and therefore the garbage collection overhead
    on long-running programs, depending on their particular use of datatypes.
    
    (trivia: this makes the "binary_trees" benchmark from the Computer Language
    Shootout 40% faster)
    f8387af2
tupleobject.h 2.12 KB