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