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