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
The sameArray1 function used in equal1 and equalKeys compares the lengths of the two arrays as a first step. This is unnecessary because in both use-cases the lengths are known to equal because the corresponding bitmaps are the same or because the array of a Full node is known to have size maxChildren.
unordered-containers/Data/HashMap/Internal/Array.hs
Lines 139 to 151 in 0a474c7
The
sameArray1
function used inequal1
andequalKeys
compares the lengths of the two arrays as a first step. This is unnecessary because in both use-cases the lengths are known to equal because the corresponding bitmaps are the same or because the array of a Full node is known to have sizemaxChildren
.unordered-containers/Data/HashMap/Internal.hs
Lines 421 to 435 in 8c20f7a
The text was updated successfully, but these errors were encountered: