From 864a6ef93103956c0bd9a3f12aeaf84bc86f391d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 28 Jun 2007 01:48:54 +0000 Subject: [PATCH] Discard "nomerge" nodes to speed up depgraph.altlist() since those nodes aren't used and the --tree algorithm does a good job of regenerating them when appropriate. (trunk r7067) svn path=/main/branches/2.1.2/; revision=7068 --- bin/emerge | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/emerge b/bin/emerge index 039e3e3ad..4cc102337 100755 --- a/bin/emerge +++ b/bin/emerge @@ -2023,6 +2023,9 @@ class depgraph: self._altlist_cache[reversed] = retlist[:] return retlist mygraph=self.digraph.copy() + for node in mygraph.order[:]: + if node[-1] == "nomerge": + mygraph.remove(node) self._merge_order_bias(mygraph) myblockers = self.blocker_digraph.copy() retlist=[] -- 2.26.2