ref: 5ab34fe6b03c4e0938f17fe445e96bc19bf76768 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; }