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 rhettinger
Recipients jab, rhettinger
Date 2009-07-31.21:23:28
SpamBayes Score 1.0965052e-07
Marked as misclassified No
Message-id <1249075409.81.0.186230958299.issue6614@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-07-31 21:23:29rhettingersetrecipients: + rhettinger, jab
2009-07-31 21:23:29rhettingersetmessageid: <1249075409.81.0.186230958299.issue6614@psf.upfronthosting.co.za>
2009-07-31 21:23:28rhettingerlinkissue6614 messages
2009-07-31 21:23:28rhettingercreate