Christian Heimes <[EMAIL PROTECTED]> added the comment: James Henstridge schrieb: > James Henstridge <[EMAIL PROTECTED]> 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 __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2422> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com