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

don't calloc in each fingerprint #8

Open
gallypette opened this issue Jul 28, 2022 · 0 comments
Open

don't calloc in each fingerprint #8

gallypette opened this issue Jul 28, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@gallypette
Copy link
Member

Could be faster still if it didn't calloc/free a "Fingerprint" buffer each time you add or query an entry. Since its individual BloomFilters are not thread-safe anyway, it could allocate the buffer once at BloomFilter creation time and be done with it.

@gallypette gallypette added the bug Something isn't working label Jul 28, 2022
@gallypette gallypette self-assigned this Jul 28, 2022
@gallypette gallypette added enhancement New feature or request and removed bug Something isn't working labels Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant