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

Remove global fields #79

Merged
merged 10 commits into from
Jan 14, 2025
Merged

Remove global fields #79

merged 10 commits into from
Jan 14, 2025

Conversation

folkertdev
Copy link
Collaborator

some final cast/field cleanups

idk, maybe they had some more complicated encoding scheme at some point, but these values were always equal to `gSel`, never mutated independently. Hence, a waste of space
it is only used for a loop `while t < nGroups`, and `nGroups` is in the range `2..=6`, so a `u8` is sufficient
@folkertdev folkertdev requested a review from bjorn3 January 14, 2025 15:28
Copy link

codecov bot commented Jan 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
libbz2-rs-sys/src/bzlib.rs 92.62% <ø> (ø)
libbz2-rs-sys/src/compress.rs 99.63% <100.00%> (+<0.01%) ⬆️
libbz2-rs-sys/src/decompress.rs 93.13% <100.00%> (-0.29%) ⬇️

@folkertdev folkertdev merged commit 6930c1a into main Jan 14, 2025
21 checks passed
@folkertdev folkertdev deleted the remove-global-fields branch January 14, 2025 15:41
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