Add a comment about slowness in _serialize_tasks when there are lots of
authorZac Medico <zmedico@gentoo.org>
Thu, 18 Feb 2010 08:30:50 +0000 (08:30 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 18 Feb 2010 08:30:50 +0000 (08:30 -0000)
blockers to solve.

svn path=/main/trunk/; revision=15366

pym/_emerge/depgraph.py

index ac6744a6b4c2b2d8e40ed71a2317fb44757c24fb..491c8ab4a52e385e90a47a72e4003d2be3db8a7f 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