Re: Another suggestion

seth vidal <[email protected]>
Newsgroups gmane.linux.rpm.metadata
Message-ID <1085953024.16598.6.camel@binkley>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.