ref: 1d2ec12245817e06991948b1c2ff972dd84bc0b1 dir: /src/libscc/genhash.c/
unsigned genhash(char *name) { unsigned h; char c; for (h = 0; c = *name; ++name) h = h*33 ^ c; return h; }