Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. Open addressing,
or closed hashing, is a method of collision resolution in hash tables.
With this method a hash collision is resolved by probing, or searching
through alternate locations in the array (the probe sequence) until
either the target record is found, or an unused array slot is found,
which indicates that there is no such key in the table. The main
tradeoffs between these methods are that linear probing has the best
cache performance but is most sensitive to clustering, while double
hashing has poor cache performance but exhibits virtually no clustering;
quadratic probing falls in-between in both areas. Double hashing can
also require more computation than other forms of probing. Some open
addressing methods, such as last-come-first-served hashing and cuckoo
hashing move existing keys around in the array to make room for the new
key.