-
Notifications
You must be signed in to change notification settings - Fork 52
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
Consider using zopfli
's new streaming encoder feature
#100
Comments
Zopfli is super useful in places where gzip has to be used, like PNG. However, dpkg has supported xz for a long time now, and xz is a pareto improvement over gzip in speed and compression. Therefore, for cargo-deb I consider gzip support only a low-priority fallback for a small and decreasing number of very old Debian installs. |
That makes sense, thanks for the clarification! I wouldn't mind cobbling together a PR to reintroduce Zopfli when I have time, but feel free to close this issue if you feel Zopfli is no longer in scope for the project. |
Yes, I'm happy to accept a PR for this. |
I had some time to ponder this idea and realized that to implement it well I would need to extend the |
I've just noticed that
cargo-deb
stopped using Zopfli in this commit because its API did not properly support streaming compression at the time. However, Zopfli 0.7.4 was released a little while ago with such support. If that limitation was the only reason to stop using Zopfli, you might want to give the new version a try! 😄The text was updated successfully, but these errors were encountered: