Skip to content

Conversation

@RaduBerinde
Copy link
Contributor

This commit introduces BinaryFuseBuilder which allows reuse of all
allocated slices to avoid GC overhead. A single builder can be used
with different fingerprint sizes.

Fixes #45

@lemire
Copy link
Member

lemire commented Dec 15, 2025

Failure:


--- FAIL: TestBinaryFuseN_ZeroSet (0.00s)
panic: runtime error: index out of range [0] with length 0 [recovered]
	panic: runtime error: index out of range [0] with length 0

@RaduBerinde
Copy link
Contributor Author

Sorry, forgot to amend the commit.

@lemire
Copy link
Member

lemire commented Dec 15, 2025

@RaduBerinde Looks fine now. Can you add a section in the README.md as to how it is meant to be used?

@lemire
Copy link
Member

lemire commented Dec 15, 2025

I'd prefer to have even just minimal documentation (two sentences would be enough).

@RaduBerinde
Copy link
Contributor Author

Done. Thanks for the review!

This commit introduces `BinaryFuseBuilder` which allows reuse of all
allocated slices to avoid GC overhead. A single builder can be used
with different fingerprint sizes.

Fixes FastFilter#45
@lemire lemire merged commit 8d4969c into FastFilter:master Dec 15, 2025
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.

support reuse of memory buffers

2 participants