sile / scalable_cuckoo_filter

A variant of Cuckoo Filter whose size automatically scales as necessary
MIT License
17 stars 7 forks source link

Fix false negatives that may result from the removal of items #13

Closed sile closed 5 months ago

sile commented 5 months ago

This PR fixes an issue reported in the comment https://github.com/sile/scalable_cuckoo_filter/pull/4#issuecomment-2033055195 .

Copilot generated summary

This pull request includes changes to the src/buckets.rs, src/cuckoo_filter.rs, and src/scalable_cuckoo_filter.rs files in the Cuckoo Filter implementation. The changes primarily focus on improving the remove method's functionality, simplifying the insert method, and enhancing the fingerprint collision handling in the filter.

Changes to the remove method:

Changes to the insert method:

Changes to fingerprint collision handling:

Other changes:

coveralls commented 5 months ago

Pull Request Test Coverage Report for Build 8577709782

Details


Totals Coverage Status
Change from base Build 8232134380: 0.3%
Covered Lines: 1025
Relevant Lines: 1360

💛 - Coveralls
ashtul commented 5 months ago

@sile Nice job