Jim Meyering wrote:
-export XZ_OPT = -8e
+export XZ_OPT = --lzma2=preset=9e,dict=48MiB,pb=0

Lets see how well this works.

The original xz tarball from ftp.gnu.org and the lzip tarball made by 'lzip -9':
-rw-r--r-- 1 5798517 2016-11-30 20:14 coreutils-8.26.tar.lz
-rw-r--r-- 1 5810244 2016-11-30 20:14 coreutils-8.26.tar.xz

The xz tarball compressed with the new XZ_OPT and the lzip tarball made by 'lzip -9 -s48MiB':
-rw-r--r-- 1 5655213 2016-11-30 20:14 coreutils-8.26.tar.lz
-rw-r--r-- 1 5662812 2016-11-30 20:14 coreutils-8.26.tar.xz

Lzip creates a smaller tarball in both cases.

Besides, in a pinch, such users can always decompress on another system
and either operate directly on a recompressed (or uncompressed) tarball.

Or you can make the life of such users easier by distributing the lzip tarball so that they can decompress it even on the smallest systems using the low memory mode of lunzip.

Best regards,

Reply via email to