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