[MERGE] Be more efficient with sha operations during commit

Robert Collins robertc at robertcollins.net
Mon Sep 24 03:33:08 BST 2007


This saves 10 seconds or so on an initial commit of a mozilla tree by
using sha_string, rather than sha_strings.

As part of it I've removed an unused function from the _KnitData class,
and removed code to cache during add operations on knits - we do not use
that capability anywhere, and its semantically transparent in anycase -
it will just read again if needed, but doing a check for it, when we
never use it, adds up in big trees.

-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-mail-_Yyjq3.patch
Type: text/x-patch
Size: 8579 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070924/41c6ecdf/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070924/41c6ecdf/attachment-0001.pgp 


More information about the bazaar mailing list