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 da, rhettinger, serhiy.storchaka
Date 2018-05-22.19:09:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1527016193.15.0.682650639539.issue33593@psf.upfronthosting.co.za>
In-reply-to
Content
As noted by Serhiy, the interaction with the Array type would incur significant overhead.  Your fastest approach will be to follow his suggest to first convert to a list and then perform heap manipulations.

Marking this as closed.  Thank you for the suggestion.
History
Date User Action Args
2018-05-22 19:09:53rhettingersetrecipients: + rhettinger, serhiy.storchaka, da
2018-05-22 19:09:53rhettingersetmessageid: <1527016193.15.0.682650639539.issue33593@psf.upfronthosting.co.za>
2018-05-22 19:09:53rhettingerlinkissue33593 messages
2018-05-22 19:09:53rhettingercreate