Home | History | Annotate | Download | only in Lib

Lines Matching defs:heapify

14 heapify(x)           # transforms list into a heap, in-place, in linear time
127 __all__ = ['heappush', 'heappop', 'heapify', 'heapreplace', 'merge',
168 def heapify(x):
239 # comparisons made by heapify() a little, and those made by exhaustive
243 # Compares needed by heapify Compares needed by 1000 heappops
250 # 2198, 2148, and 2219 compares: heapify() is more efficient, when
254 # 8627, and 8632 (this should be compared to the sum of heapify() and
341 _heapify = heapify
416 # 1 1.66 * k heapify the first k-inputs
555 heapify(result)
572 heapify(result)