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