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