Kristján Valur Jónsson <[EMAIL PROTECTED]> added the comment: I am sorry for not doing my research about the age of the compatibility fix. However, modifying the test slightly to work with tuples of (random.random(), random.random()) shows a performance increase from:
heapify 0.366187741738 pushpop 0.541365033824 replace 2.69348946584 push and pop 3.12545093022 to: heapify 0.186918030085 pushpop 0.405662172148 replace 1.46039447751 push and pop 1.75253663524 This does look like a large price to pay for this compatibility layer. _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4207> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com