1 |
On Monday 19 September 2005 10:26, Jason Stubbs wrote: |
2 |
> On Monday 19 September 2005 17:18, Paul de Vrieze wrote: |
3 |
> > I doubt though that the config object should be modified. |
4 |
> |
5 |
> The Package object needs to call setcpv() on the config object to get |
6 |
> at the per-package USE flags after they have been stacked. |
7 |
> |
8 |
> > But if it must in some cases a lazy copy scheme is probably most |
9 |
> > efficient. |
10 |
> |
11 |
> Unfortunately not in this case. There would either be one config |
12 |
> instance (for processes that don't deal with USE flags) or as many |
13 |
> config instances as there are packages (for processes that do). |
14 |
|
15 |
Should probably read the source a bit but you're completely right of |
16 |
course. The only thing that could be done for this is splitting up the |
17 |
object, or having it do internal sharing of shared things. Or to make it |
18 |
clear, it is not some cases, but almost all cases. |
19 |
|
20 |
Paul |
21 |
|
22 |
-- |
23 |
Paul de Vrieze |
24 |
Gentoo Developer |
25 |
Mail: pauldv@g.o |
26 |
Homepage: http://www.devrieze.net |