-
Notifications
You must be signed in to change notification settings - Fork 99
Weird level-deletion in intersectionArrayBy
#420
New issue
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
Comments
As a precaution, I've deprecated v0.2.19.0 on Hackage. I can un-deprecate it if it turns that this code is correct. |
Why would this mess with shift/subkey-logic? This is done in other places of the code already, such as |
I think this may be wrong, because we need to check if it is a |
Exactly! |
It is a bit curious that we don't have general path compression. I suppose it's not supposed to be too important if the hashing is good? Of course, instances like |
Fixes #420. Co-authored-by: Brian Shu <[email protected]>
unordered-containers/Data/HashMap/Internal.hs
Lines 1862 to 1865 in 4da2c20
I'm referring to line 1864 where, instead of returning a
BitmapIndexed
node, its only element is returned.@oberblastmeister Could you clarify the reasoning behind this code?
I'm wondering whether this might mess with the shift/subkey-logic, effectively misplacing some elements, so they can't be found by lookups, deletions etc.
The text was updated successfully, but these errors were encountered: