-
Notifications
You must be signed in to change notification settings - Fork 100
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
Tweak unionWithKey.goDifferentHash #277
Conversation
Yeah, looks good to me! |
You going to unWIP this? Or still considering? |
Yeah, once I've checked the Core and run the benchmarks. Feel free to take over if you're interested though. |
3e8a54e
to
2aa9c22
Compare
I've had a look at the Core generated with GHC 8.10.7. The most significant effect is that in the Also its The See for yourself: This branch:
EDIT: Steps for my own future reference:
|
In the
This branch (also 2 runs):
Unfortunately we don't have any benchmarks for the strict Nevertheless it seems to me that all signs point in the right direction, so I'm inclined to merge. |
I discovered this one while copying the code for
merge
(#226).Not sure whether it's actually correct or useful, but tests have passed so far.
t1
andt2
are always eitherLeaf
orCollision
, in case that matters.TODO: