Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

iirc, there is a major advantage to using a prime number of slots that prevents the biasing


It's to protect against bad hashing algorithms:

http://www.concentric.net/~Ttwang/tech/primehash.htm




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: