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

Change Compressor and Decompressor to use more efficient streaming compression context (requires PHP 7+) #28

Merged
merged 4 commits into from
Apr 25, 2020

Conversation

clue
Copy link
Owner

@clue clue commented Apr 25, 2020

Change Compressor and Decompressor to use more efficient streaming compression context. This also fixes any inconsistencies and supports proper error reporting for invalid data. This change does not otherwise affect the public API except for the minimum PHP requirement. Benchmark results (#24) suggest this improves both compression and decompression performance by ca. 25%.

Builds on top of #25
Resolves #4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Approach: Build on top of deflate_init() / inflate_init()
1 participant