Message380628
Github PR #23204:
For a given element in a heap, we can leverage the fact that we can
search this element quicker thinking of the property of a heap. Therefore
out of h.index(x) that a list linear search uses, I propose to use a special written index method to look for an index of a heap element.This issue has been proposed on Github (with my changes to heapq also put there). Open a discussion under suggestion of Karthikeyan Singaravelan (tirkarthi). |
|
Date |
User |
Action |
Args |
2020-11-10 03:36:08 | SamUnimelb | set | recipients:
+ SamUnimelb |
2020-11-10 03:36:08 | SamUnimelb | set | messageid: <1604979368.73.0.815196542676.issue42301@roundup.psfhosted.org> |
2020-11-10 03:36:08 | SamUnimelb | link | issue42301 messages |
2020-11-10 03:36:08 | SamUnimelb | create | |
|