commit | f8387af2620b2e02ceac856e08786429a913adb5 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Mon Mar 23 18:41:45 2009 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Mon Mar 23 18:41:45 2009 +0000 |
tree | 28d9ca7a2f538e80fc9d6b00a22cea40b9941a33 | |
parent | e5b78563b6f394e69d87ee68cc82c173c95dfa0b [diff] |
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)