Martin Pool wrote:
> 2009/8/15 John A Meinel <email address hidden>:
>> So the trivial fix is:
>> === modified file 'bzrlib/btree_index.py'
>> --- bzrlib/btree_index.py 2009-08-13 19:56:26 +0000
>> +++ bzrlib/btree_index.py 2009-08-14 18:55:59 +0000
>> @@ -46,7 +46,7 @@
>> _PAGE_SIZE = 4096
>>
>> # 4K per page: 4MB - 1000 entries
>> -_NODE_CACHE_SIZE = 1000
>> +_NODE_CACHE_SIZE = 100000
>
> That's the kind of thing I'd look at putting in
> -Dindex_cache_size=100000 (which would require a small patch to
> support key/value debug flags); obviously it's inferior to just
> working but it's more feasible for most users than a patch or even a
> plugin.
>
You could make it "-Dbig_index_cache" and then set it to something
ridiculously high.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin Pool wrote: btree_index. py' btree_index. py 2009-08-13 19:56:26 +0000 btree_index. py 2009-08-14 18:55:59 +0000 cache_size= 100000 (which would require a small patch to
> 2009/8/15 John A Meinel <email address hidden>:
>> So the trivial fix is:
>> === modified file 'bzrlib/
>> --- bzrlib/
>> +++ bzrlib/
>> @@ -46,7 +46,7 @@
>> _PAGE_SIZE = 4096
>>
>> # 4K per page: 4MB - 1000 entries
>> -_NODE_CACHE_SIZE = 1000
>> +_NODE_CACHE_SIZE = 100000
>
> That's the kind of thing I'd look at putting in
> -Dindex_
> support key/value debug flags); obviously it's inferior to just
> working but it's more feasible for most users than a patch or even a
> plugin.
>
You could make it "-Dbig_index_cache" and then set it to something
ridiculously high.
John
=:->
-----BEGIN PGP SIGNATURE----- enigmail. mozdev. org/
GvpcACgkQJdeBCY SNAAPangCgnqyH6 l0G6FZgIwLHrImO cwTM 10lMmPq4q2ZKjFf mC
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkq
F6gAnigtp4dgM08
=AtYU
-----END PGP SIGNATURE-----