When loading vdb_metadata.pickle inside vardbapi._aux_cache_init(), in
authorZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 06:01:59 +0000 (06:01 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 06:01:59 +0000 (06:01 -0000)
commit09621d445e87c102869e5c97898fda55c217d643
tree515d402298b5874e466a01fa5a4f3ccf4aa332c2
parent161bbea42b3bb0b564b9b2a61aaac0f19a733c0d
When loading vdb_metadata.pickle inside vardbapi._aux_cache_init(), in
order to avoid an extreme performance issue, disable buffering when opening
the file under python-3.0. Unfortunately, performance is still poor relative
to python-2.x, but buffering makes it much worse. (trunk r12665)

svn path=/main/branches/2.1.6/; revision=12928
pym/portage/dbapi/vartree.py