-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow multiple precision modes #6
base: master
Are you sure you want to change the base?
Commits on Jan 16, 2022
-
Initial try to support a variety of byte sizes for cuckoofilter.
Using generics, allowing to switch transparently between uint8 and uint16 for the fingerprint size. Performance neutral according to benchmarks ~/goworkspace/bin/benchstat ~/master.benchstats ~/generics.benchstats name old time/op new time/op delta Filter_Reset-4 10.0µs ± 0% 9.9µs ± 0% ~ (p=1.000 n=1+1) Filter_Insert-4 18.2µs ± 0% 18.0µs ± 0% ~ (p=1.000 n=1+1) Filter_Lookup-4 1.52µs ± 0% 1.51µs ± 0% ~ (p=1.000 n=1+1)
1Configuration menu - View commit details
-
Copy full SHA for 0d1d95c - Browse repository at this point
Copy the full SHA 0d1d95cView commit details -
Use config for constructing filter.
Instead of using multiple methods for instantiating a filter for a chosen precision.
Configuration menu - View commit details
-
Copy full SHA for ac182fd - Browse repository at this point
Copy the full SHA ac182fdView commit details -
Simplified and sped up insert method.
There is no asymptotic advantage to try both idx & alt idx for an item to insert. Rather just let cuckoo kickout do it's thing.
Configuration menu - View commit details
-
Copy full SHA for 69c4f39 - Browse repository at this point
Copy the full SHA 69c4f39View commit details
Commits on Jan 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6a19792 - Browse repository at this point
Copy the full SHA 6a19792View commit details -
Configuration menu - View commit details
-
Copy full SHA for 286a8bc - Browse repository at this point
Copy the full SHA 286a8bcView commit details -
Moving rand call to more optimized version.
Avoids some unnecessary ifs in the implementation.
Configuration menu - View commit details
-
Copy full SHA for 7fac49b - Browse repository at this point
Copy the full SHA 7fac49bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c45ada - Browse repository at this point
Copy the full SHA 0c45adaView commit details
Commits on Jul 11, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e43f263 - Browse repository at this point
Copy the full SHA e43f263View commit details
Commits on Aug 10, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e099372 - Browse repository at this point
Copy the full SHA e099372View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8d4b9c - Browse repository at this point
Copy the full SHA b8d4b9cView commit details
Commits on Aug 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 91602ce - Browse repository at this point
Copy the full SHA 91602ceView commit details -
Previously, items only moved to the alternative index on cuckoo inserts.
Configuration menu - View commit details
-
Copy full SHA for b7f9905 - Browse repository at this point
Copy the full SHA b7f9905View commit details -
Configuration menu - View commit details
-
Copy full SHA for a1dc6a8 - Browse repository at this point
Copy the full SHA a1dc6a8View commit details
Commits on Aug 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e8be750 - Browse repository at this point
Copy the full SHA e8be750View commit details
Commits on Sep 22, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b66c920 - Browse repository at this point
Copy the full SHA b66c920View commit details -
Putting commented variant of alternative code into getAltIndex.
Plus a tiny rename.
Configuration menu - View commit details
-
Copy full SHA for f768a1f - Browse repository at this point
Copy the full SHA f768a1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 10258d9 - Browse repository at this point
Copy the full SHA 10258d9View commit details
Commits on Sep 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 6cf2b26 - Browse repository at this point
Copy the full SHA 6cf2b26View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9b2432 - Browse repository at this point
Copy the full SHA b9b2432View commit details
Commits on Oct 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 2e23dc5 - Browse repository at this point
Copy the full SHA 2e23dc5View commit details