Statistics.jl icon indicating copy to clipboard operation
Statistics.jl copied to clipboard

When `Base.partialsort!` exposes scratch space, do the same for `median`

Open BioTurboNick opened this issue 8 months ago • 0 comments

Dependent on merging of https://github.com/JuliaLang/julia/pull/58269, would be great to also expose initiation of scratch space in calls to median.

When median is on a hot loop, allocation of this scratch space can become a bottleneck.

BioTurboNick avatar Apr 29 '25 14:04 BioTurboNick