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
Technically true, but isn’t the point of LittleDicts is that they’re used when you only have a few values? In this case, the size is bounded, and the timing can be considered linear. (Of course, there isn’t a size check in the code, right?)
Technical definitions aside, what is the point of hasfastin? If it’s really concerned about speed, then the speed of key lookup in LittleDicts might be considered fast. If it’s used for inlining (or something similar), then maybe not.
This function says if the checking of
haskey
is expected logorithmic or better.but for LittleDict it is not, it is linear.
Default for
AbstractDict
is true.https://github.com/JuliaLang/julia/blob/aa36eefa17e68dd3781b668bc40328583b161924/base/abstractset.jl#L284-L295
The text was updated successfully, but these errors were encountered: