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
- seedyoon Programming Log :: STL HashMap - Assoicate Contanier
- [Recommended] How is HashMap implemented? 1
- Hello world - How does Java HashMap work?
References
-
How_to_implemtation_-_HashMap.pdf ↩