[PATCH] Speed improvement

Martin Pool mbp at sourcefrog.net
Mon Nov 28 03:11:17 GMT 2005


On 25 Nov 2005, Goffredo Baroncelli <kreijack at alice.it> wrote:
> Hi all,
> 
> the purpose of the patch attached is to improve the performance of the 
> _copy_one_weave( ) function. This function merge a remote weave
> to the one correspondent of the current branch.

Thankyou, merged.
> +
> +        if len(to_weave.names( )):

Simpler to just say "to_weave.numversions() > 0" here.


-- 
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/20051128/a99caac2/attachment.pgp 


More information about the bazaar mailing list