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