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