From a155a23e88c446294ea9787e10ab7c04095501a1 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 28 Dec 2006 13:07:03 +0000 Subject: Use a pickle to cache vdb metadata. This greatly improves the performance for loading the vdb when the buffer cache is cold. svn path=/main/trunk/; revision=5402 --- bin/emerge | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') diff --git a/bin/emerge b/bin/emerge index 1b07d77bf..5d7406d1f 100755 --- a/bin/emerge +++ b/bin/emerge @@ -744,6 +744,7 @@ class FakeVartree(portage.vartree): continue slot_counters[myslot_atom] = mycounter self.dbapi.cpv_inject(cpv, metadata=metadata) + real_dbapi.flush_cache() finally: if vdb_lock: portage_locks.unlockdir(vdb_lock) -- cgit v1.2.3-1-g7c22