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