title: hash function for string
body: <p>I'm working on hash table in C language and I'm testing hash function for string.</p>
  <p>The first function I've tried is to add ascii code and use modulo (<code>% 100</code>) but i've got poor results with the first test of data: 40 collisions for 130 words.</p>
  <p>The final input data will contain 8000 words (it's a dictionary stores in a file). The hash table is declared as <code>int table[10000]</code> and contains the position of the word in a .txt file.</p>
  <ul>
  <li>Which is the best algorithm for hashing string?</li>
  <li>And how to determinate the size of hash table?</li>
  </ul>