Gentoo Archives: gentoo-portage-dev

From: Paul Varner <fuzzyray@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] PATCH: gentoolkit: Make portage.config object a global object
Date: Fri, 16 Sep 2005 16:59:52
Message-Id: 1126889948.30603.16.camel@txslpc1d36.wkst.vzwnet.com
1 http://bugs.gentoo.org/show_bug.cgi?id=90680
2
3 Author: Paul Varner
4
5 The current implementation of gentoolkit creates a portage.config object
6 for every package object that it creates. While this is the correct
7 thing to do from an object-oriented programming point of view, this
8 implementation consumes an excessive amount of memory and CPU. The
9 proposed patch changes the portage.config object for each package object
10 to point to a single global object.
11
12 If no one sees any serious issues with the patch, I will be placing it
13 into gentoolkit.
14
15 Regards,
16 Paul
17 --
18 gentoo-portage-dev@g.o mailing list

Replies