Open
Description
unordered-containers/Data/HashMap/Internal/Array.hs
Lines 139 to 151 in 0a474c7
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.hs
Lines 421 to 435 in 8c20f7a