Skip to content
Search

HashMap

lastmod 2018-08-17created 2016-10-122 edits

A general term for Map data structures that use a hash function (Hash function).

Implementation

Prime number buckets in hash table

A trick for reducing hash collisions in a Hash map: set the bucket size to a prime number and add one more garbling value to the key.

See also

Favorite site

References


  1. How_to_implemtation_-_HashMap.pdf ↩