We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
two
Collision
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:
insert*
Leaf
insert'
Lines 773 to 806 in 0bbbac1
I think we could also use it when we encounter Collisions with different hashes. In the example above that would be line 805.
That would save some allocations. And maybe reduce code size a bit?!
The text was updated successfully, but these errors were encountered:
If nothing else, it seems simpler and more direct to use two there, yeah.
Sorry, something went wrong.
No branches or pull requests
unordered-containers/Data/HashMap/Internal.hs
Lines 923 to 931 in 0bbbac1
This function is currently used in various
insert*
variants when we encounter aLeaf
node that has a different hash, e.g. ininsert'
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?!
The text was updated successfully, but these errors were encountered: