diff options
author | David James <davidjames@chromium.org> | 2011-05-09 21:11:47 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-05-11 22:19:19 -0700 |
commit | e0b4f2971245506750cb013a4fda8251111e1c46 (patch) | |
tree | da19ccf8f836405d587781f4e12f7895a08406d4 /pym/_emerge | |
parent | 32c4d1d7f05b8ab10a97a5ef965be14a8dd7e10b (diff) | |
download | portage-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')
0 files changed, 0 insertions, 0 deletions