Improve partition box key hashing - #7
Conversation
|
Hey there - thanks a lot for your contribution! I work at Fenris Creations and wanted to let you know that we've acknowledged your PR. We'll take a proper look at it as soon as we can and really appreciate you taking the time to contribute. |
hrafn
left a comment
There was a problem hiding this comment.
I agree that the current hash function here does not spread things out as much as we would like, but am not entirely convinced of this new approach, as it seems a bit over-elaborate, and adds a test that doesn't seem to add any value.
|
@hrafn Thanks again for the detailed feedback. I added benchmark results and rationale to the hash-combiner thread, and would appreciate a fresh review of the current revision when you have a chance. If you still prefer a simpler approach or want the collision test changed/removed, I am happy to update the PR accordingly. |
hrafn
left a comment
There was a problem hiding this comment.
Ok, you make a convincing argument for your hashing approach, but the tests need cleaning up.
Remove the RetainsEveryDistinctBoxKey test, and I'd be happy to merge this in.
|
@hrafn Done — I removed the |
Summary
size_tconversion with a dedicatedKeyHashValidation
Partition.h