Hacker News
new
past
comments
ask
show
jobs
points
by
andai
3 hours ago
|
comments
by
tetha
3 hours ago
|
next
[-]
Any `return c` for some constant is a valid and correct hash function. It just has a lot of collisions and degenerates hash-maps to terrible performance. That was in fact my first thought when I read "simplest hash functions".
reply
by
eru
1 hours ago
|
prev
|
[-]
That's why I said "probably".
reply