You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given https://mobile.twitter.com/matheusdev23/status/1459272654544904204 I'm thinking we should probably stick with Murmur3 for now. Hash collision bugs would be extremely painful to detect and debug in user space, and I don't really think it's worth the extra performance unless we're super confident they won't happen. 😅
FNV1a will lead to more collisions when compared to Murmur3. But from what I've seen, not much more. There are more links in the link matheusdev23 mentions, which verifies this.
This also means that it's likely that hash collisions have happened in some project in the real world today.
The main problem, really, is that we have no collision handling.
Since Bekk, my employer, let's me spend one day every week working on stuff for the benefit of the larger elm community, perhaps we could do a slack meeting, @rtfeldman, and explain some of the code in elm-css to me. With a better understanding of the current code base, I might be able to make the code faster and avoid collisions at the same time. Reach out to me on slack if you think this is a good idea :)
Given https://mobile.twitter.com/matheusdev23/status/1459272654544904204 I'm thinking we should probably stick with Murmur3 for now. Hash collision bugs would be extremely painful to detect and debug in user space, and I don't really think it's worth the extra performance unless we're super confident they won't happen. 😅
Thoughts @robinheghan?
The text was updated successfully, but these errors were encountered: