What's a good hash function for English words?

后端 未结 4 680
情书的邮戳
情书的邮戳 2020-11-27 19:17

I have a long list of English words and I would like to hash them. What would be a good hashing function? So far my hashing function sums the ASCII values of the letters the

4条回答
  •  没有蜡笔的小新
    2020-11-27 20:17

    Maybe something like this would help you: http://www.gnu.org/s/gperf/

    It generates a optimized hashing function for the input domain.

提交回复
热议问题