Implementation of a fast and space efficient Hash Array Mapped Trie in C# based on Philip Bagwell's paper, "Ideal Hash Trees".
Wrote this a couple years ago as a fun side project and am uploading now to Github in case anyone finds it interesting or useful.
Adds the specified key and value to the HAMT
Determines whether or not the given key is present in the HAMT
Returns the corresponding value based on the given key in the HAMT
Clears the HAMT of all entries
Run the program.cs
file to test the code on the dictionary.txt
. Outputs the time taken to add all the values, item count, check for the existence of every value, and the total memory usage.