uuid_v4 icon indicating copy to clipboard operation
uuid_v4 copied to clipboard

Better hashing function

Open duckdoom5 opened this issue 3 years ago • 0 comments

I'm not 100% sure why it happened and I couldn't debug it properly.

When I used the UUID in an unordered map, it would sometimes not find the UUID even though it does exists in the map. I feel like it has something to do with the hash function that this was using.

See this hash_combine proposal for reference to this hashing function: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0814r2.pdf

duckdoom5 avatar Jan 08 '22 16:01 duckdoom5