Optimize depgraph._dep_expand() to avoid calling pordbapi.cp_all(),
authorZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 05:57:06 +0000 (05:57 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 05:57:06 +0000 (05:57 -0000)
commit28355b368a48e1da35921fc347b5347b782a3094
treebca632c96311242b9b8c1a925713532d912cf80d
parent0ff34642ad42905cf9d28b39a12aa6d359f8fbca
Optimize depgraph._dep_expand() to avoid calling pordbapi.cp_all(),
since it can be more efficient to call cp_list() on each category.
Thanks to Marat Radchenko <slonopotamusorama@gmail.com> for the
suggestion. (trunk r12653)

svn path=/main/branches/2.1.6/; revision=12921
pym/_emerge/__init__.py
pym/portage/dbapi/__init__.py
pym/portage/dbapi/porttree.py