Compressed repodata

Gustavo Niemeyer gustavo at niemeyer.net
Tue Sep 25 14:31:58 PDT 2007


Hello Anders,

> Is there any way to get Smart to read directly from the compressed files
> (a la gzcat), without first having to uncompress them into a second file
> on disk ?
> 
> As far as I understand it is then parsed into an internal Smart cache
> anyway, and the package repository serves the files in the compressed
> format (.xml.gz)

Yes, but that'd mean paying the price of uncompression whenever the
file is parsed.  The price is CPU and time.

-- 
Gustavo Niemeyer
http://niemeyer.net



More information about the Smart mailing list