summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-03-23 18:41:45 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-03-23 18:41:45 (GMT)
commitf8387af2620b2e02ceac856e08786429a913adb5 (patch)
tree28d9ca7a2f538e80fc9d6b00a22cea40b9941a33 /Misc
parente5b78563b6f394e69d87ee68cc82c173c95dfa0b (diff)
downloadcpython-f8387af2620b2e02ceac856e08786429a913adb5.zip
cpython-f8387af2620b2e02ceac856e08786429a913adb5.tar.gz
cpython-f8387af2620b2e02ceac856e08786429a913adb5.tar.bz2
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)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index e96ec17..d734536 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,11 @@ What's New in Python 2.7 alpha 1
Core and Builtins
-----------------
+- 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.
+
- Issue #5512: Rewrite PyLong long division algorithm (x_divrem) to
improve its performance. Long divisions and remainder operations
are now between 50% and 150% faster.