Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
beala
2y ago
0 comments
Share
Not sure I follow. Hash functions don't require entropy, and a hash collision in a hash map shouldn't cause incorrect data to be returned (it just makes them less efficient).
0 comments
default
newest
oldest
RandomRandy
2y ago
I think that they are saying that the output space, i.e. the list of all possible hashes, is too small. Thus, IDs 1234 and 5678 lead to the same hash.
The collision is not in the insertion into the hash map but rather in the look up.
j
/
k
navigate · click thread line to collapse