mcmilk / 7-Zip-zstd

7-Zip with support for Brotli, Fast-LZMA2, Lizard, LZ4, LZ5 and Zstandard
https://mcmilk.de/projects/7-Zip-zstd/
Other
4.87k stars 293 forks source link

Poor compression ratio using default compression method #291

Closed narinishi closed 1 year ago

narinishi commented 1 year ago

When compressing ~80MB of PDFs using the default compression method, "LZMA2 [std]", and compression level set to "Level 9 (Maximum)", the resultant archive is ~60MB and the entries show as being compressed with "ZSTD", whereas vanilla 7-Zip yields a ~45mb archive with entries showing "LZMA2" as the compression method.

Oddly, selecting "LZMA2, Fast [std]" as the compression method causes the entries to be compressed using "LZMA2" and yields a similarly sized archive to vanilla 7-Zip.

mcmilk commented 1 year ago

Yes, I have to change some code here... sth. is wrong with LZMA2 - I will release a fixed version soon.