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.
1 parent 88efafb commit 266216aCopy full SHA for 266216a
src/heaps/arrays_as_heaps.jl
@@ -81,7 +81,7 @@ end
81
82
In-place [`heapify`](@ref).
83
"""
84
-function heapify!(xs::AbstractArray, o::Ordering=Forward)
+@inline function heapify!(xs::AbstractArray, o::Ordering=Forward)
85
for i in heapparent(length(xs)):-1:1
86
percolate_down!(xs, i, o)
87
end
0 commit comments