when we say hash function, I find it means converting a sequence bytes of keys to 32bit or 64bit unsigned integer in most articles,for example see this
However, when you implement hash_table, it looks like that hash function means converting a very large integer to smaller internal array index, and in this domain, the meaning of "hash function" mentioned above is changed to hash value of keys.
- Is my understanding right?
- Can someone provide some insights or links or papers on the converting large integer to smaller internal array index?
Thanks