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