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
julia> using BenchmarkTools, FixedSizeArrays
julia> (@benchmark B .= a .* A setup=(A =randn(16); B =similar(A); a =randn()));
julia> median(ans).time
6.713
julia> (@benchmark B .= a .* A setup=(A =FixedSizeVector(randn(16)); B =similar(A); a =randn()));
julia> median(ans).time
51.17933130699088
julia> Base.dataids(a::FixedSizeArray) = Base.dataids(a.mem)
julia> (@benchmark B .= a .* A setup=(A =FixedSizeVector(randn(16)); B =similar(A); a =randn()));
julia> median(ans).time
7.661661661661662
On c14fbe8:
The text was updated successfully, but these errors were encountered: