[comp.theory] "what is a good hash function for this problem"

bgg@usl (Bruce G. Greenblatt) (01/09/88)

I have written my own little program to compute the input semigroups
of Finite State Automata, and in the program I hash on vectors of length
n, where each element of the vector is an integer between 1 and n.
The hash function I use now seems to be marginally OK, but I was hoping
someone had a suggestion for a wonderful hash function that distributed
these vectors around the hash table.  Any suggestions ?