Closed dadhi closed 5 years ago
The array will represent a root of data structure to do a initial lookup by hash & (arrLength - 1) where arrLength is power of 2.
hash & (arrLength - 1)
arrLength
The array item would be an Im(Hash)Map tree.
Space saving here:
Benchmarks are added to the readme.
Btw, No space saving, just reusing the full ImHashMap.
The array will represent a root of data structure to do a initial lookup by
hash & (arrLength - 1)
wherearrLength
is power of 2.The array item would be an Im(Hash)Map tree.
Space saving here: