Skip to content

Common cleanup#311

Merged
folkertdev merged 4 commits into
mainfrom
common-cleanup
May 13, 2026
Merged

Common cleanup#311
folkertdev merged 4 commits into
mainfrom
common-cleanup

Conversation

@folkertdev
Copy link
Copy Markdown
Member

No description provided.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 13, 2026

Codecov Report

❌ Patch coverage is 97.29730% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
lib/common/bitstream.rs 97.05% 1 Missing ⚠️
Flag Coverage Δ
test-aarch64-apple-darwin 33.04% <97.29%> (-0.03%) ⬇️
test-aarch64-unknown-linux-gnu 31.63% <97.29%> (-0.04%) ⬇️
test-i686-unknown-linux-gnu 31.71% <97.29%> (-0.02%) ⬇️
test-x86_64-unknown-linux-gnu 33.35% <97.29%> (-0.04%) ⬇️

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

Files with missing lines Coverage Δ
lib/common/fse.rs 46.60% <100.00%> (ø)
lib/compress/fse_compress.rs 75.82% <100.00%> (ø)
lib/common/bitstream.rs 98.03% <97.05%> (-0.40%) ⬇️

... and 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread lib/common/bitstream.rs
unsafe fn BIT_getLowerBits(bitContainer: BitContainerType, nbBits: u32) -> BitContainerType {
bitContainer & *BIT_mask.as_ptr().offset(nbBits as isize) as BitContainerType
fn BIT_getLowerBits(bitContainer: BitContainerType, nbBits: u32) -> BitContainerType {
bitContainer & BIT_mask[nbBits as usize] as BitContainerType
Copy link
Copy Markdown
Collaborator

@bjorn3 bjorn3 May 13, 2026

Choose a reason for hiding this comment

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

Does this not regress performance?

@folkertdev folkertdev merged commit d9aab9a into main May 13, 2026
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