From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1EHIaI-0007Ei-9V for garchives@archives.gentoo.org; Mon, 19 Sep 2005 10:09:14 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j8JA33J7001123; Mon, 19 Sep 2005 10:03:03 GMT Received: from callisto.cs.kun.nl (callisto.cs.kun.nl [131.174.33.75]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j8JA32vO014844 for ; Mon, 19 Sep 2005 10:03:02 GMT Received: from localhost (localhost [127.0.0.1]) by callisto.cs.kun.nl (Postfix) with ESMTP id E6F082E80C4 for ; Mon, 19 Sep 2005 12:08:38 +0200 (CEST) From: Paul de Vrieze To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] PATCH: gentoolkit: Make portage.config object a global object Date: Mon, 19 Sep 2005 12:08:37 +0200 User-Agent: KMail/1.8.2 References: <1126889948.30603.16.camel@txslpc1d36.wkst.vzwnet.com> <200509191018.11247.pauldv@gentoo.org> <200509191726.38677.jstubbs@gentoo.org> In-Reply-To: <200509191726.38677.jstubbs@gentoo.org> X-Face: #Lb+'V@sGJ;ptgo5}V"W+5OCoo{LZv;bh,s,`WKLi/J)ed1_$0;6X<=?utf-8?q?700LVV/=3BLqPhiDP=5E=0A=09=27f=5Dfnv?=@%6M8\'HR1t=aFx;ePfp{ZQoBe+e)JOQ8T5*(_;mHY+cltLGq<;@$Y,=?utf-8?q?O=5C=24=0A=09Tm=23G6M?=,g![Q62J{na*S9d;R[^8pc%u\aiLqU@`kJtYl"^6pxdW Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1593925.Maqk9UAavG"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200509191208.37676.pauldv@gentoo.org> X-Archives-Salt: 7d8453f4-0409-4f6f-ae11-fb3ebb5dbb1d X-Archives-Hash: 87db839e4871c3bf23cb9ec7f0bbde1c --nextPart1593925.Maqk9UAavG Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 19 September 2005 10:26, Jason Stubbs wrote: > On Monday 19 September 2005 17:18, Paul de Vrieze wrote: > > I doubt though that the config object should be modified. > > The Package object needs to call setcpv() on the config object to get > at the per-package USE flags after they have been stacked. > > > But if it must in some cases a lazy copy scheme is probably most > > efficient. > > Unfortunately not in this case. There would either be one config > instance (for processes that don't deal with USE flags) or as many > config instances as there are packages (for processes that do). Should probably read the source a bit but you're completely right of=20 course. The only thing that could be done for this is splitting up the=20 object, or having it do internal sharing of shared things. Or to make it=20 clear, it is not some cases, but almost all cases. Paul =2D-=20 Paul de Vrieze Gentoo Developer Mail: pauldv@gentoo.org Homepage: http://www.devrieze.net --nextPart1593925.Maqk9UAavG Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBDLo4lbKx5DBjWFdsRAn31AKDkDiXDEFb2Buo9wLAV/gQiSrgqhACeOfMh 8V93yOXOlfiqEn1CHGblB2Q= =SZo2 -----END PGP SIGNATURE----- --nextPart1593925.Maqk9UAavG-- -- gentoo-portage-dev@gentoo.org mailing list