Optimize depgraph._dep_expand() to avoid calling pordbapi.cp_all(),
authorZac Medico <zmedico@gentoo.org>
Thu, 19 Feb 2009 19:01:26 +0000 (19:01 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 19 Feb 2009 19:01:26 +0000 (19:01 -0000)
commit35ce9db328c0727f4c246a0b9caa7fb02652d05b
tree16d72c2b4aedd7e7954adf61eac98a8cf9549f98
parentd951bf3bfa91bd97e177eb6cf08adc688b4f169c
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.

svn path=/main/trunk/; revision=12653
pym/_emerge/__init__.py
pym/portage/dbapi/__init__.py
pym/portage/dbapi/porttree.py