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