Implementation of a basic Robinhood hashmap where the idea is to keep an FCFS approach but with the added condition that we'll evict an entry if it is "rich" (rich entry PSL is less than current entry PSL) and then reinsert the evicted entry with the same rules in place. We'll essentially have an arrangement such that for an entry to be pushed some distance d, it'll have been displaced by some other entry that travelled at least d - 1. An additional advantage of this rule being enforced is that we can stop probing on lookup based on this. If we walk d steps and come across an entry that is displaced by some distance less than d from its home, we can stop the probing.
-
Notifications
You must be signed in to change notification settings - Fork 0
Implementation of a Robinhood hashmap backed by an FX hasher
License
null-char/rhmap
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Implementation of a Robinhood hashmap backed by an FX hasher
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published