ref: 279bf67dfc38f55a3c9f4529799686608bd28bb4 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; }