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