Skip to content

open-ended and double-hashed hash-table implemented in GO

Notifications You must be signed in to change notification settings

ThejasNU/hash-table

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hash-table

An open-addressed, double-hashed hash table in GO. This is also known as map,dictionary or key-value store. Inspired by tutorial write-a-hash-table.

Features of the implementation

  • It is similar to unordered_map in C++, which also uses hashing for storing values of each key.
  • Hashfunction used here is polynomial rolling hash function.
  • Collision has been handled using double-hashing method.
  • The table dynamically resizes itself when the load is above 70% or below 10%.
  • All operations on hash-table have constant time complexity .i.e., O(1).

About

open-ended and double-hashed hash-table implemented in GO

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages