From: Zac Medico Date: Tue, 2 Mar 2010 20:26:39 +0000 (-0000) Subject: Add a comment about slowness in _serialize_tasks when there are lots of X-Git-Tag: v2.1.8~129 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=c843cf9f7632187d743297ba3de8fdaf576dd768;p=portage.git 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 --- 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