Gentoo Archives: gentoo-dev

From: Marius Mauch <genone@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Glep 23 and glep 5
Date: Mon, 22 Mar 2004 19:29:50
Message-Id: 20040322202910.3804006b@andy.genone.homeip.net
In Reply to: Re: [gentoo-dev] Glep 23 and glep 5 by Paul de Vrieze
1 On Mon, 22 Mar 2004 15:08:02 +0100
2 Paul de Vrieze <pauldv@g.o> wrote:
3
4 > Parsing metadata.xml for search is actually easier than parsing
5 > ebuilds for the same (there are more ebuilds to start with). One could
6 > even use grep as a preselection feature to faster get candidates in
7 > which to look better (read actually parse the xml).
8
9 But we still have to parse the ebuild for stuff like SRC_URI, so parsing
10 metadata.xml is an additional operation, and wether you need one or 10
11 variables from the ebuild is irrelevant for performance. And SRC_URI is
12 nearly always subject to variable substitution, so moving it to
13 metadata.xml is not an option.
14
15 Marius
16
17 --
18 Public Key at http://www.genone.de/info/gpg-key.pub
19
20 In the beginning, there was nothing. And God said, 'Let there be
21 Light.' And there was still nothing, but you could see a bit better.
22
23 --
24 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] Glep 23 and glep 5 Paul de Vrieze <pauldv@g.o>