Simen Gaure
Results
23
comments of
Simen Gaure
The idea with `get!` is that hashing should only be done once, but the benchmark says `get!` is slower than `haskey || setindex!`. And by closer inspection, `get!` is defined...
That would have been nice, however ```julia julia> d = Dict{Int,Int}() Dict{Int64, Int64}() julia> @which get!(d, 2, 3) get!(t::AbstractDict, key, default) @ Base abstractdict.jl:562 julia> VERSION v"1.12.2" ```
Ah, I misread the output from `@less`