summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/depgraph.py
diff options
context:
space:
mode:
authorDavid James <davidjames@chromium.org>2011-05-09 21:11:47 -0700
committerZac Medico <zmedico@gentoo.org>2011-05-11 22:19:19 -0700
commite0b4f2971245506750cb013a4fda8251111e1c46 (patch)
treeda19ccf8f836405d587781f4e12f7895a08406d4 /pym/_emerge/depgraph.py
parent32c4d1d7f05b8ab10a97a5ef965be14a8dd7e10b (diff)
downloadportage-e0b4f2971245506750cb013a4fda8251111e1c46.tar.gz
portage-e0b4f2971245506750cb013a4fda8251111e1c46.tar.bz2
portage-e0b4f2971245506750cb013a4fda8251111e1c46.zip
Cache counter values, avoiding I/O when it doesn't change.
This improves merge times by up to 25%, since looping over the vardb for each package install is slow. TEST=Emerge a bunch of packages, notice 25% speed improvement. BUG=chromium-os:15112 Change-Id: I51dd617219cd1820ceeb702291bd790990995be4
Diffstat (limited to 'pym/_emerge/depgraph.py')
0 files changed, 0 insertions, 0 deletions