Skip to content

Conversation

@jeremyevans
Copy link
Contributor

If a buffer keyword argument is given, it is used as the buffer,
instead of creating new strings. This can result in significantly
lower memory usage during inflation.

Implements #19

If a buffer keyword argument is given, it is used as the buffer,
instead of creating new strings.  This can result in significantly
lower memory usage during inflation.

Implements ruby#19
@jeremyevans jeremyevans requested a review from nurse October 29, 2020 19:58
@ioquatix
Copy link
Member

Do we implement the same for deflate?

@jeremyevans jeremyevans merged commit dac9a9b into ruby:master Oct 30, 2020
@jeremyevans
Copy link
Contributor Author

@ioquatix I don't have objections to adding support for deflate, but I don't have a desire to implement it purely for consistency. Additionally, the deflate method already has a section optional argument, so the interface was already not the same as inflate.

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