[New-bugs-announce] [issue4688] GC optimization: don't track simple tuples and dicts

Antoine Pitrou report at bugs.python.org
Thu Dec 18 00:41:09 CET 2008


New submission from Antoine Pitrou <pitrou at free.fr>:

Split out from #4074, here is a standalone patch which disables GC
tracking for simple tuples (tuples made of atomic objects or immutable
containers, possibly nested). The performance improvement can be
evaluated using tuple_gc_hell.py from #4074.

The patch also adds a function named is_tracked() to the gc module.

----------
components: Interpreter Core
files: tupleopts.patch
keywords: patch
messages: 77995
nosy: pitrou
priority: normal
severity: normal
stage: patch review
status: open
title: GC optimization: don't track simple tuples and dicts
type: performance
versions: Python 2.7, Python 3.1
Added file: http://bugs.python.org/file12387/tupleopts.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4688>
_______________________________________


More information about the New-bugs-announce mailing list