Lines Matching defs:heapify
14 heapify(x) # transforms list into a heap, in-place, in linear time
129 __all__ = ['heappush', 'heappop', 'heapify', 'heapreplace', 'merge',
170 def heapify(x):
241 # comparisons made by heapify() a little, and those made by exhaustive
245 # Compares needed by heapify Compares needed by 1000 heappops
252 # 2198, 2148, and 2219 compares: heapify() is more efficient, when
256 # 8627, and 8632 (this should be compared to the sum of heapify() and
343 _heapify = heapify
418 # 1 1.66 * k heapify the first k-inputs
551 heapify(result)
568 heapify(result)