summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-02-18 08:30:50 +0000
committerZac Medico <zmedico@gentoo.org>2010-02-18 08:30:50 +0000
commit64a804b74980611e03a49e0140fd5017fee3ba72 (patch)
tree9b23b824bcdfb8e1ec628a1926e16fc8c37091eb
parent1e0b48d2114a402113629e7f2c86cc109091f33f (diff)
downloadportage-64a804b74980611e03a49e0140fd5017fee3ba72.tar.gz
portage-64a804b74980611e03a49e0140fd5017fee3ba72.tar.bz2
portage-64a804b74980611e03a49e0140fd5017fee3ba72.zip
Add a comment about slowness in _serialize_tasks when there are lots of
blockers to solve. svn path=/main/trunk/; revision=15366
-rw-r--r--pym/_emerge/depgraph.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index ac6744a6b..491c8ab4a 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