News for hackers. Stuff that matters.
Re:7-Zip for Linux by I_Byte on Thursday March 11, 2021 @01:42PM (#26427419)
I have noticed that 7-zip offers the best compression ratio out of the options you listed above when set for maximum compression. I personally am happy to hear this news.
Re:7-Zip for Linux by krzyk on Thursday March 11, 2021 @04:31PM (#26429252)
Better than xz?

And what's the difference? I alwasy though 7zip was a bit sketchy like rar archives, zips are more common on windows and on linux everywhere I see there are either gz, bz2 or xz.

Re:7-Zip for Linux by user-the-name on Thursday March 11, 2021 @07:08PM (#26430670)
xz is based on LZMA, which was originally introduced by 7-Zip.

xz is a much simplified version of the massively, insanely over-engineered and frankly impossible to implement 7-Zip format.

Re:7-Zip for Linux by hcs on Friday March 12, 2021 @03:22PM (#26440427)
xz doesn't have BCJ2 (though it does have an earlier BCJ filter), which allows for somewhat better compression of exes. BCJ2 produces separate streams which independently compress better. See for instance https://bugzilla.mozilla.org/show_bug.cgi?id=1514357, saves almost 10% on a Firefox installer (which uses 7-Zip) vs the complete update .mar file (which uses xz/liblzma).