Speed up LibraryPackageMap.update() by pulling NEEDED from the
authorZac Medico <zmedico@gentoo.org>
Fri, 16 Nov 2007 08:43:10 +0000 (08:43 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 16 Nov 2007 08:43:10 +0000 (08:43 -0000)
commit05a388421c57c36f704b669d724567f9cfa81aaf
treeb26f6db9d33ebbf9aae26ec8614c1989a554b307
parent72178ba6b9b68766f4596cc51ad9d5ae91680f42
Speed up LibraryPackageMap.update() by pulling NEEDED from the
vardbapi.aux_get() cache. This greatly reduces the amount of
needless IO that has been happening just prior to the postinst
phase in dblink.treewalk(). We may want to consider having
LibraryPackageMap work directly from the vardbapi instead of
creating the intermediate /var/cache/edb/library_consumers file.

svn path=/main/trunk/; revision=8516
pym/portage/dbapi/vartree.py