Debian Developers - Re: standard apt/yum meta-data format

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > July 2004 > Re: standard apt/yum meta-data format





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: standard apt/yum meta-data format
Matt Zimmerman

2004-07-05, 2:50 am

On Mon, Jul 05, 2004 at 08:27:41AM +0200, Adrian 'Dagurashibanipal' von Bidder wrote:

> The 'Reading Package Lists...' step takes 22s on the system in question,
> which I think is awfully slow on a K6-333 with 128M RAM. Of course,
> it's far from unuseable, but I think when 'grep ^Package: *_Packages'
> takes only 3s, reading the Package lists in apt and storing them in
> some index should be doable a bit faster


Why would you think that it should be faster for apt to read and parse the
Packages files and build a useful data structure out of them than for grep
to read them and perform a regex match on each line?

--
- mdz


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com