Open
Description
unordered-containers/Data/HashMap/Internal.hs
Lines 923 to 931 in 0bbbac1
This function is currently used in various insert*
variants when we encounter a Leaf
node that has a different hash, e.g. in insert'
on line 783:
unordered-containers/Data/HashMap/Internal.hs
Lines 773 to 806 in 0bbbac1
I think we could also use it when we encounter Collision
s with different hashes. In the example above that would be line 805.
That would save some allocations. And maybe reduce code size a bit?!