depgraph: minimize match_from_list operations
authorZac Medico <zmedico@gentoo.org>
Sun, 13 May 2012 07:32:04 +0000 (00:32 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 13 May 2012 07:32:04 +0000 (00:32 -0700)
commit0903cf2a1544d970b286a3e7e1f3276daa4eab9c
treebf1532c3fda66829633fbc141fa8b60de0da2323
parentd7525a7e433ee77f7c94ab468ff66af4f2913684
depgraph: minimize match_from_list operations

In _iter_match_pkgs, call match_from_list on one cpv at a time, in
order to avoid unnecessary match_from_list comparisons on versions that
are never yielded from this method.
pym/_emerge/depgraph.py