-
Notifications
You must be signed in to change notification settings - Fork 163
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
Support cloudfire optimized version of zlib as a backend #228
Conversation
21869ce
to
6609b58
Compare
Nice! Mind adding this to CI as well to get tested? |
6609b58
to
d4d8ab5
Compare
I'm unsure why but CI says it doesn't compile under mingw. |
It looks like inline assembly is used and that probably isn't compatible with the MinGW toolchain. Perhaps document that it doesn't work on MinGW and we can configure in the code to ignore the feature on MinGW? |
0e99fdf
to
ea91453
Compare
I modified the build to skip this feature on mingw and added a small note to the README. |
Thanks! |
@arthurprs It looks like there is a bunch of Is that intentional or an accidental omission? |
@RReverser good eye. I overlooked those. |
Just made a PR above. |
* Expose zlib options on cloudflare-zlib See #228 (comment). * Add an any_zlib feature group
I had a use case that needed a faster gzip encoder. Is this something interesting to push upstream?
Some brief testing showed that compression at level 6 is twice as fast as the default backend.