Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
beala
2y ago
0 comments
Save
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
1 comments · 1 top-level
top
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