Message75225
The compatability code was just added in Py2.6 and is needed for apps
like Twisted that currently rely on __le__ being tested. In 3.0, the
compatability code is removed and full speed is restored.
Also, the timing suite exaggerates the effect. A more typical use of
heaps involves a heap of tuples with the first tuple element being used
as a priority level. That increases the comparison time and decreases
the relative significance of the dispatch logic. |
|
Date |
User |
Action |
Args |
2008-10-26 13:07:46 | rhettinger | set | recipients:
+ rhettinger, kristjan.jonsson |
2008-10-26 13:07:46 | rhettinger | set | messageid: <1225026466.14.0.212572211839.issue4207@psf.upfronthosting.co.za> |
2008-10-26 13:07:45 | rhettinger | link | issue4207 messages |
2008-10-26 13:07:44 | rhettinger | create | |
|