New submission from Antoine Pitrou <pit...@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 <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