-
Notifications
You must be signed in to change notification settings - Fork 3
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
extract the save area #75
Conversation
Codecov ReportAttention: Patch coverage is
|
libbz2-rs-sys/src/bzlib.rs
Outdated
@@ -579,7 +579,6 @@ pub(crate) struct SaveArea { | |||
pub es: i32, | |||
pub N: i32, | |||
pub curr: i32, | |||
pub zt: i32, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 also unused in the original C code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, I'm really not sure what is happening there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as in, why would they leave that field around if it's unused
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My guess would be that it was used in the past and the compiler didn't give a warning when it became unused due to the store/restore dance.
and give a bunch of fields a smaller type. Can be reviewed commit-by-commit.
This PR brings a minor reduction in instructions, and no other performance changes.