Skip to content

Conversation

@carlhoerberg
Copy link

WHY are these changes introduced?

Optimization and clarity

WHAT is this pull request doing?

Instead of having an instance variable for CompressOptions it's now put on the stack. The struct is as of current version only used to indicate if the buffer passed to compress_update is stable (is there for the next call to compress_update, or not). flush and compress_end does not use the struct as of today, so nil can be passed instead.

HOW can this pull request be tested?

specs

Instead of having an instance variable for CompressOptions it's now put
on the stack. The struct is as of current version only used to indicate
if the buffer passed to compress_update is stable (is there for the next
call to compress_update, or not). flush and compress_end does not use
the struct as of today, so nil can be passed instead.
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