unsigned int hash = 0; while (*s) hash = hash * 33 + *s++;