Top "Perfect-hash" questions

A perfect hash function for a set S is a hash function that maps distinct elements in S to a set of integers, with no collisions.

perfect hash function

I'm attempting to hash the values 10, 100, 32, 45, 58, 126, 3, 29, 200, 400, 0 I need a function that will map them to an array that has a …

hash hashtable perfect-hash
Convert a string to number and back to string?

I would like to know how I can convert a short ASCII string to a number (int, float, or numeric …

php string encoding perfect-hash
Minimal perfect hash function

I have many integers in range [0; 2^63-1]. There is only 10^8 integers, however. There is no duplicates. Full list is known …

perfect-hash