[arch-dev-public] [PATCH] Support xz compressed packages

Pierre Schmitz pierre at archlinux.de
Mon Feb 15 16:15:31 EST 2010


Am Montag, 15. Februar 2010 19:36:41 schrieb Jan de Groot:
> > if not it's not an improvement and we should think about pbzip that
> > now
> > supports tar interaction and pipes! 
> 
> Depends on the compression level. It's slower than gzip compression, but
> faster than bzip2 if you don't select the highest compression level. I
> guess you'll save more time uploading an xz-compressed openoffice
> package than you'll lose by compressing it with that.

Indeed. E.g. I just compiled Qt and package size went down from 34 MB to 25 
MB. This saves me about 10 MByte upload for each arch. I didn't note any 
massive increase in compression time compared to compile and upload time.

Sure there are edge cases like big icon packs which wont compress well anyway. 
But in general the benefit of the way smaller packages is rally worth it. And 
you don't have to forget that you only compress a package once; but it's 
uploaded and downloaded many, many times.

-- 

Pierre Schmitz, https://users.archlinux.de/~pierre


More information about the arch-dev-public mailing list