[MERGE] Reduce key lookups during commit

Robert Collins robertc at robertcollins.net
Fri Sep 21 02:52:48 BST 2007


We have a bit of a mispattern at the moment.

It goes like this:
 - generate unique id
 - insert a text with that id
   - check that the id is unique

This is double-handling, so this patch removes that, when we have
signalled that the id is unique, we trust it to be so.

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


More information about the bazaar mailing list