[MERGE] reduce list copies during single text extraction

Robert Collins robertc at robertcollins.net
Mon Oct 22 07:13:16 BST 2007


This avoids list copies during single text extraction. Matt Nordhoff
reported that commit was taking minutes, and a callgrind report he
mailed me showed this as a significant factor. I suggested a cheap way
to remove 2 of these copies on IRC which saved about 30% of commit. This
patch removes those two and a third (the one in _apply_delta) for
hopefully a 45% saving ;).

-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-mail-f3GYob.patch
Type: text/x-patch
Size: 8622 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20071022/8bea3eb5/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/20071022/8bea3eb5/attachment-0001.pgp 


More information about the bazaar mailing list