Hacker News new | past | comments | ask | show | jobs | submit login

Because -1 is not equal to -2. They will fall into the same bucket of the hash map, but the hash collisions are expected and must be accounted for.





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

Search: