This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients christian.heimes, jamesh, lauromoura
Date 2008-04-02.09:42:41
SpamBayes Score 0.15604408
Marked as misclassified No
Message-id <47F35642.9090001@cheimes.de>
In-reply-to <1207115793.76.0.372335212105.issue2422@psf.upfronthosting.co.za>
Content
James Henstridge schrieb:
> James Henstridge <james@jamesh.id.au> added the comment:
> 
> There are probably a few other performance optimisations that would be
> good to turn off when running under valgrind.
> 
> A big one is the tuple cache: if there are tuple reference counting
> issues, they won't necessarily be seen by valgrind if the tuple is kept
> and reused rather than being freed.

The tuple cache can't be disabled entirely. Some parts of Python and
some third party modules may depend on the fact that an empty tuple ()
is a singleton in Python.

The tuple cache could be reduced to empty tuple and some other caches
like the list and dict cache could be disabled entirely.

Christian
History
Date User Action Args
2008-04-02 09:42:45christian.heimessetspambayes_score: 0.156044 -> 0.15604408
recipients: + christian.heimes, jamesh, lauromoura
2008-04-02 09:42:42christian.heimeslinkissue2422 messages
2008-04-02 09:42:41christian.heimescreate