[Rpm-metadata] Another suggestion

seth vidal skvidal at phy.duke.edu
Sun May 30 21:37:04 UTC 2004


On Sun, 2004-05-30 at 17:54 -0300, Gustavo Niemeyer wrote:
> > Why is that particularly valuable? The xml parsers I've seen all read
> > through the gzipping transparently and I've not noticed a speed hit by
> > reading it as a gzipped file.
> 
> How many packages you've done your measurements with? What about with
> bzip2?

I've only tested with libxml2 and pyXML. libxml2 being significantly
faster than pyXML.

> > Where's the advantage of storing it uncompressed?
> 
> Speed. Uncompressing it only once prevents paying the same price
> everytime you read them.

fair enough. I'd love to see if that's a signficant hit or not but after
discussing on irc I'm willing to accept it at face value.

unless anyone has an objection I'll store the uncompressed information
in the repomd.xml file as well.

by information I solely mean:
sha/md5 checksum
timestamp


-sv








More information about the Rpm-metadata mailing list