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