Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use executable filter from liblzma #75

Closed
schnaader opened this issue Dec 25, 2017 · 1 comment
Closed

Use executable filter from liblzma #75

schnaader opened this issue Dec 25, 2017 · 1 comment

Comments

@schnaader
Copy link
Owner

schnaader commented Dec 25, 2017

liblzma offers filters that improve compression of executables by about 10%. The result should be similar to using the filter stage of paq8px first and compressing the result:

Operation resulting file size in bytes
Original file: precomp045.exe 1,383,936 bytes
Compressed using Precomp 0.4.6 389,668 bytes
paq8px -0 + Precomp 0.4.6 352,805 bytes
@schnaader schnaader added this to the Precomp v0.4.7 milestone Dec 25, 2017
@schnaader schnaader self-assigned this Dec 25, 2017
schnaader added a commit that referenced this issue Dec 27, 2017
- See issue #75
- Filter maximum is 4, so up to 3 filters + LZMA2 can be used
- X86+PPC+ARM could be a good default
- TODO: Command line parameter so set or disable filters

- Changed VS settings, so unfortunately there are some tab/space changes in here, too.
@schnaader
Copy link
Owner Author

schnaader commented Feb 14, 2018

Result:

Operation resulting file size in bytes
Original file: precomp045.exe 1,383,936 bytes
Compressed using Precomp 0.4.6 389,668 bytes
paq8px -0 + Precomp 0.4.6 352,805 bytes
Precomp 0.4.7dev -lf+x 353,475 bytes

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

No branches or pull requests

1 participant