[MERGE] Minor tree and dirstate code cleanups
Ian Clatworthy
ian.clatworthy at internode.on.net
Fri Sep 14 03:29:45 BST 2007
Robert Collins wrote:
>> I'm happy to back that bit out btw - just explaining why I changed it.
>
> if <string>: is 6 times faster than if len(string) > 0.
>
> When the failure mode is safe, 'if thing' is very efficient.
OK. Backed out.
Changed N -> 3 as well as discussed.
Ian C.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tree-dirstate-code-cleanups-2.patch
Type: text/x-patch
Size: 19618 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070914/95a62f7e/attachment-0001.bin
More information about the bazaar
mailing list