Add a comment about slowness in _serialize_tasks when there are lots of
authorZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 20:26:39 +0000 (20:26 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 20:26:39 +0000 (20:26 -0000)
blockers to solve. (trunk r15366)

svn path=/main/branches/2.1.7/; revision=15593

pym/_emerge/depgraph.py

index d297986ab30cfe0a298da3b949e15f134d07ec1e..90b556f751941d158fedc314e21b353aec64ba3b 100644 (file)
@@ -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