Regression in performance of sum on Broadcasted with small Union eltype #39425
Labels
broadcast
Applying a function over a collection
missing data
Base.missing and related functionality
performance
Must go faster
regression
Regression in behavior compared to a previous version
The performance of
sum(Base.Broadcast.Broadcasted(*, (x, z)))
whenz
has eltypeUnion{Float64, Missing}
regressed dramatically between Julia 1.3 and 1.4. It improved again in 1.5 but it's still much slower on master than on 1.3.On Julia 1.3.1:
On 1.4.2:
On master:
Cc: @tkf. Found while investigating JuliaStats/StatsBase.jl#518 (comment).
The text was updated successfully, but these errors were encountered: