[issue42301] Add function to exploit heapq structure to locate an index of element
Raymond Hettinger
report at bugs.python.org
Mon Nov 9 23:37:20 EST 2020
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
What is the use case for this?
This doesn't seem to be a typical heap operation. https://en.wikipedia.org/wiki/Heap_(data_structure)#Operations
Have you seen the in other heap APIs?
----------
components: +Library (Lib) -Extension Modules
title: Lack function to track index of an element in heapq -> Add function to exploit heapq structure to locate an index of element
versions: -Python 3.6, Python 3.7, Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42301>
_______________________________________
More information about the Python-bugs-list
mailing list