Message91153
There is a basis for the pure python version to switch to bisect.
There is not a basis for having the final wrapped C function switch to
using sorted(). That is a programmer decision.
The pure python version is there to show how it could be done using a
minheap and it is a bit of hack to get it to work at all. The C version
uses a maxheap and does not need logic for switching to bisect. It is
clean and fast.
I'm sorry, but I've lost interest in continuing this discussion. |
|
Date |
User |
Action |
Args |
2009-07-31 21:23:29 | rhettinger | set | recipients:
+ rhettinger, jab |
2009-07-31 21:23:29 | rhettinger | set | messageid: <1249075409.81.0.186230958299.issue6614@psf.upfronthosting.co.za> |
2009-07-31 21:23:28 | rhettinger | link | issue6614 messages |
2009-07-31 21:23:28 | rhettinger | create | |
|