Skip to content

Conversation

joaquintides
Copy link
Member

Made lookup implementation branchless for block, fast_multiblock32 and fast_multiblock64, which results in some performance gains, particularly for mixed successful/unsuccessful queries.

Benchmark results

https://github.com/boostorg/boost_bloom_benchmarks/tree/branchful-vs-branchless-comparison

In addition to branchful/branchless, we have also tested with prefetch omission, but results there are inconclusive.

@cppalliance-bot
Copy link

An automated preview of the documentation is available at https://42.bloom.prtest3.cppalliance.org/libs/bloom/doc/html/index.html

@joaquintides joaquintides changed the title Made some subfilters' loookup branchless Made some subfilters' lookup branchless Sep 13, 2025
@joaquintides joaquintides merged commit d4b5eb6 into develop Sep 13, 2025
80 checks passed
@joaquintides joaquintides deleted the feature/branchless branch September 13, 2025 16:44
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.

2 participants