Gentoo Archives: gentoo-portage-dev

From: Jason Stubbs <jstubbs@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] PATCH: gentoolkit: Make portage.config object a global object
Date: Mon, 19 Sep 2005 08:27:25
Message-Id: 200509191726.38677.jstubbs@gentoo.org
In Reply to: Re: [gentoo-portage-dev] PATCH: gentoolkit: Make portage.config object a global object by Paul de Vrieze
1 On Monday 19 September 2005 17:18, Paul de Vrieze wrote:
2 > I doubt though that the config object should be modified.
3
4 The Package object needs to call setcpv() on the config object to get at the
5 per-package USE flags after they have been stacked.
6
7 > But if it must in some cases a lazy copy scheme is probably most
8 > efficient.
9
10 Unfortunately not in this case. There would either be one config instance
11 (for processes that don't deal with USE flags) or as many config instances
12 as there are packages (for processes that do).
13
14 --
15 Jason Stubbs

Replies