[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /usr/share/doc/ files and gzip/xz/no compression



* Lars Wirzenius [2011-08-15 18:33 +0100]:
>      raw     gz      xz
>      584    163     134     file sizes (MiB)
>        0    421     450     savings compared to raw (MiB)
>     -421      0      29     savings compared to current gz (MiB)

Years ago I compared sizes of compressed files in /usr/share/doc using
different compression methods too, possibly restricting to specific file
types (for example changelog and copyright).

> I'm OK with allowing use of xz for compressing the files.

IIRC bzip2 had a better compression.  Compressing dpkg's changelog on
stable seems confirm this:

    $ zcat /usr/share/doc/dpkg/changelog.gz | bzip2 | wc -c
    145586
    $ zcat /usr/share/doc/dpkg/changelog.gz | xz | wc -c
    167844


Regards
Carsten


Reply to: