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

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



On Thu, 25 Sep 2014, Riku Voipio wrote:
> 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?

No, I haven't.  Feel free to do it!

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


Reply to: