Hacker News new | ask | show | jobs
by brandonbloom 3992 days ago
Can just bit-or 1.
1 comments

this halves the number of values. doing if (hashcode == 0) hashcode = 1; removes only one value.