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