When loading vdb_metadata.pickle inside vardbapi._aux_cache_init(), in
authorZac Medico <zmedico@gentoo.org>
Fri, 20 Feb 2009 23:37:13 +0000 (23:37 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 20 Feb 2009 23:37:13 +0000 (23:37 -0000)
commita725446766ae9e4b34f34c3f19e50c4df89b7e41
tree4b3ddabc7dd53a0c6abe58cd1e1e1adc333ba5d7
parent3a86686fc2b0af7e9f9f96b2e98c245c437ee613
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.

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