1 |
+++ bin/emerge (working copy) |
2 |
+ cm = portage.settings.load_best_module("portdbapi.metadbmodule")(myportdir, |
3 |
"metadata/cache", |
4 |
+ filter(lambda x: not x.startswith("UNUSED_0"), portage.auxdbkeys)) |
5 |
|
6 |
Anything wrong with getting rid of UNUSED_0 from auxdbkeys now? They only seem |
7 |
to be used in the flatlist code. Couldn't the flatlist key count just be |
8 |
dropped? |
9 |
|
10 |
|
11 |
+ self.cp_all.sort() |
12 |
|
13 |
No need to sort if all that is ever seen is the percentage... |
14 |
|
15 |
|
16 |
+++ pym/portage.py (working copy) |
17 |
+ self.auxdb[mylocation][mycpv] = mydata |
18 |
|
19 |
I know that cache memory usage goes down with this patch, but can you explain |
20 |
why that is? The above line seems to be in direct contradiction with that. |
21 |
|
22 |
|
23 |
Didn't really see anything else worth noting.. |
24 |
|
25 |
-- |
26 |
Jason Stubbs |
27 |
-- |
28 |
gentoo-portage-dev@g.o mailing list |