Antoine Pitrou <pit...@free.fr> added the comment:

Here is a patch which combines the alternate approach (untrack simple
objects when doing a GC collection) for tuples and dicts.
I'm surprised by the results: after a full regression test suite, there
are roughly 55000 tracked objects (measured with len(gc.get_objects()))
while there are 150000 of them with the original interpreter.

Some eyes are welcome.

Added file: http://bugs.python.org/file12397/tuple+dictopts-alt.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4688>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to