[Python-checkins] r70647 - python/trunk/Doc/whatsnew/2.7.rst

antoine.pitrou python-checkins at python.org
Sat Mar 28 20:10:13 CET 2009


Author: antoine.pitrou
Date: Sat Mar 28 20:10:13 2009
New Revision: 70647

Log:
Publicize the GC untracking optimization



Modified:
   python/trunk/Doc/whatsnew/2.7.rst

Modified: python/trunk/Doc/whatsnew/2.7.rst
==============================================================================
--- python/trunk/Doc/whatsnew/2.7.rst	(original)
+++ python/trunk/Doc/whatsnew/2.7.rst	Sat Mar 28 20:10:13 2009
@@ -129,6 +129,14 @@
   (Suggested by Martin von Loewis and implemented by Antoine Pitrou;
   :issue:`4074`.)
 
+* The garbage collector tries to avoid tracking simple containers which
+  can't be part of a cycle. As of now, this is true for tuples and dicts
+  containing atomic types (such as ints, strings, etc.). Transitively, a dict
+  containing tuples of atomic types won't be tracked either. This helps brings
+  down the cost of full garbage collections, since it decreases the number of
+  objects to be considered and traversed by the collector.
+  (Contributed by Antoine Pitrou; :issue:`4688`.)
+
 
 .. ======================================================================
 


More information about the Python-checkins mailing list