We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 214f3b3 + 6ea7321 commit 62105c0Copy full SHA for 62105c0
src/heaps/binary_heap.jl
@@ -106,11 +106,7 @@ Removes and returns the element at the top of the heap `h`.
106
"""
107
Base.pop!(h::BinaryHeap) = heappop!(h.valtree, h.ordering)
108
109
-"""
110
- sizehint!(h::BinaryHeap, n::Integer)
111
-
112
-Suggest that heap `h` reserve capacity for at least `n` elements. This can improve performance.
113
+# Suggest that heap `h` reserve capacity for at least `n` elements. This can improve performance.
114
function Base.sizehint!(h::BinaryHeap, n::Integer)
115
sizehint!(h.valtree, n)
116
return h
0 commit comments