Open
Description
unordered-containers/Data/HashMap/Internal.hs
Lines 2181 to 2210 in b6bde46
I think that we could avoid allocating the intermediary indices
array. Instead over-allocate the output array and shrink (#362) it once we've determined the final size.
When matching the keys we could also use a similar optimization as suggested in #291.