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

[MISC] Add max_bin_elements to IBF constructor #236

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

eseiler
Copy link
Member

@eseiler eseiler commented Oct 16, 2024

Sometimes the maximum bin elements might be known. For example, in Raptor, I know the maximum count for minimizer files without going through them.

This ctor will allow me to use the hibf lib to create IBFs in Raptor.

@seqan-actions seqan-actions added lint [INTERNAL] used for linting and removed lint [INTERNAL] used for linting labels Oct 16, 2024
@seqan-actions
Copy link
Member

Documentation preview available at https://docs.seqan.de/preview/seqan/hibf/236

Copy link

codecov bot commented Oct 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.63%. Comparing base (dbbfb3d) to head (ddb823f).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #236   +/-   ##
=======================================
  Coverage   99.63%   99.63%           
=======================================
  Files          51       51           
  Lines        1930     1932    +2     
  Branches        5        5           
=======================================
+ Hits         1923     1925    +2     
  Misses          7        7           
Flag Coverage Δ
?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@smehringer smehringer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

test/unit/hibf/interleaved_bloom_filter_test.cpp Outdated Show resolved Hide resolved
Sometimes the maximum bin elements might be known. For example, in Raptor, I know the maximum count for minimizer files without going through them.
@seqan-actions seqan-actions added lint [INTERNAL] used for linting and removed lint [INTERNAL] used for linting labels Oct 18, 2024
@smehringer smehringer merged commit 28e15a2 into seqan:main Oct 18, 2024
37 checks passed
@eseiler eseiler deleted the misc/ibf_ctor branch October 18, 2024 12:29
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.

3 participants