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