[RFC][PATCH] Speed improvement on the Weave.join() function

Martin Pool mbp at sourcefrog.net
Tue Dec 13 03:18:17 GMT 2005


On 10 Dec 2005, Goffredo Baroncelli <kreijack at alice.it> wrote:
> Hi all,
> 
> the patch below contains an optimization for the function
> Wave.join( ), so this function doesn't perform unnecessary content expansion if the
> revision to be merged is already present. For example if you have to merge your
> last 30 revisions of the bzr.dev main branch you don't have to expand the text
> of all the ~2900 revisions present in the inventory weave. The gain is showed in the 
> example below, where we merge an inventory of 2094 revs with one of 2904

Yes, looks good to me too -- merged.
-- 
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051213/de24acb1/attachment.pgp 


More information about the bazaar mailing list