Skip to content
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

Optimize bloomfilter issue 7346 #7494

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Romain-E
Copy link

Context

This PR optimizes the calculation of the number of hash functions and bits used in BloomFilter, reducing redundant computations and improving readability.

Changes

Implemented a more efficient algorithm for optimalNumOfBits
Replaced hash calculations in optimalNumOfHashFunctions
Updated tests to reflect these changes

Impact

Improves performance when using BloomFilter.

Tests affected

Tests have been modified to validate the new calculation methods.

Romain-E and others added 2 commits October 27, 2024 13:48
Refactored optimalNumOfBits and optimalNumOfHashFunctions to improve efficiency and clarity.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant