Closed whitfin closed 6 months ago
Interesting - I suppose we could just allow users to specify those values. I wonder if a builder API is overkill? I'll try that out and see how it feels.
Alrighty, 2.1.0 is published! It offers a builder that allows you to specify those values. Let me know if that works for you :^)
@dpbriggs awesome, this works exactly as I hoped :) thank you for getting to it so quickly!
Edit: just wanted to follow up and thank you again! I embedded this into my project and the results are exactly the same, but the code that uses bloom filters is approximately 3x faster than previously. So thank you for all of your work on this library :)
The comments above the code here seem to imply they were meant as defaults, but there's no way to provide them for custom values. Was this just something that fell behind, or was it intentionally left out? If the latter, would a contribution be accepted?
I'm trying to migrate to this library, but the library I'm using had hardcoded values of
2
and0.5
, whereas this library is hardcoded to2
and0.85
. I'd like to move over as this implementation is faster, but not being able to tune the values to match means I have to bump major (as the results are obviously changing).