From c843cf9f7632187d743297ba3de8fdaf576dd768 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 2 Mar 2010 20:26:39 +0000 Subject: [PATCH] Add a comment about slowness in _serialize_tasks when there are lots of blockers to solve. (trunk r15366) svn path=/main/branches/2.1.7/; revision=15593 --- pym/_emerge/depgraph.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index d297986ab..90b556f75 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -3546,6 +3546,10 @@ class depgraph(object): min_parent_deps = None uninst_task = None + + # FIXME: This loop can be extremely slow when + # there of lots of blockers to solve + # (especially the gather_deps part). for task in myblocker_uninstalls.leaf_nodes(): # Do some sanity checks so that system or world packages # don't get uninstalled inappropriately here (only really -- 2.26.2