• Antoine Pitrou's avatar
    Merged revisions 70546 via svnmerge from · 3a652b1d
    Antoine Pitrou yazdı
    svn+ssh://pythondev@svn.python.org/python/trunk
    
    ........
      r70546 | antoine.pitrou | 2009-03-23 19:41:45 +0100 (lun., 23 mars 2009) | 9 lines
    
      Issue #4688: Add a heuristic so that tuples and dicts containing only
      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)
    ........
    3a652b1d
dictobject.h 6.35 KB