You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@vtjnash detected 1510eaa causes performance regressions, which appear as increased allocations.
I reduce them to:
using BenchmarkTools
include("$(ENV["JULIA_PKG_DEVDIR"])/BaseBenchmarks/src/utils/RandUtils.jl")
using.RandUtils
_abs(x) =abs(x)
_abs(::Nothing) =nothingconst VEC_LENGTH =10000
T = Bool
S = T
X =Vector{Union{T, Nothing}}(Vector{T}(RandUtils.samerand(S, VEC_LENGTH)));
@benchmarkbroadcast(identity, $X)
@benchmarkbroadcast(_abs, $X)
From the output of @code_typed broadcast(identity, X), it seems like 1510eaa fails to resolve Base.Broadcast.copyto_nonleaf!(...) statically somehow.
The text was updated successfully, but these errors were encountered:
@vtjnash detected 1510eaa causes performance regressions, which appear as increased allocations.
I reduce them to:
From the output of
@code_typed broadcast(identity, X)
, it seems like 1510eaa fails to resolveBase.Broadcast.copyto_nonleaf!(...)
statically somehow.The text was updated successfully, but these errors were encountered: