concept left in category parallel computing

appears as: left
Parallel and High Performance Computing

This is an excerpt from Manning's book Parallel and High Performance Computing.

In the previous examples, the first letter of the last name was used as a simple hash key. While effective, there are certainly flaws with using the first letter. One is that the number of last names starting with each letter is not evenly distributed, leading to unequal numbers of entries in each bucket. We could instead use the integer representation of the string which would produce a hash for the first four letters of the name. But the character set gives only 52 possible values for the 256 storage locations for each byte, leading to only a fraction of possible integer keys. A special hash function that expects only characters would need far fewer storage locations.