int _hashtable_hash ( char* key ) { int hash = 0; char c = key[0]; while (c != '\0') { hash += (c * 1459 + 2593)%3457; c++; } return hash; }