BTree + CHK Inefficiencies
John Arbash Meinel
john at arbash-meinel.com
Thu Aug 5 17:30:37 BST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
John Szakmeister wrote:
> On Wed, Aug 4, 2010 at 2:55 PM, John Arbash Meinel
> <john at arbash-meinel.com> wrote:
> [snip]
>> So this cuts 152MB out of peak memory (62% peak vs orig, almost half). I
>> did time them, but the numbers are within noise margins at this point.
>>
>> Note that the peak memory numbers get even better for 64-bit machines.
>> The data types are fixed between 32/64bit machines, so we should always
>> scale at ~43bytes/record. (vs 234 that I measured before, vs ~400+ for
>> 64-bit machines.)
>>
>> I'm still tweaking it a bit, but the memory numbers are definitely there.
>
> This is awesome stuff John. Will this help with checkout as well?
>
> Great job!
>
> -John
>
Yeah, it is actually written for checkout, but I could trigger the base
bug using 'bzr ls -R' without having to actually extract file content.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkxa5ywACgkQJdeBCYSNAANdxgCbBbPVZOPo9SWGzD2Ki7Nq1yx2
EP4Anj/TCcMgZWS9nLXIoF1/B1ADTb3w
=AvXt
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list