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

Re: Possible abuse of dpkg-deb -z9 for xz compressed binary packages



Hi Henrique,

On Wed, Sep 24, 2014 at 03:18:02PM -0300, Henrique de Moraes Holschuh wrote:
> OTOH, using -z9 on datasets smaller than the -z8 dictionary size *is* a
> waste of memory (I don't know about cpu time, and xz(1) doesn't say anything
> on that matter).  The same goes for -z8 and datasets smaller than -z7
> dictionary size, and so on.
 
> It is rather annoying that xz is not smart enough to detect this and
> downgrade the -z level when it is given a seekable file (which it can stat()
> and know the full size of beforehand).

This wouldn't seem too hard to implement in xz - have you asked upstream
about it?

Riku


Reply to: