Using fixed variables probably doesn't help

Robert Collins robertc at robertcollins.net
Fri Jun 16 10:25:37 BST 2006


On Thu, 2006-06-15 at 20:57 -0500, John Arbash Meinel wrote:


> Anyway, I'm guessing that we shouldn't spend any time trying to pass
> around object references rather than just using 'file' and 'directory'.
> The only thing we may want to start doing is calling 'intern()' for
> stuff we read from a file.

I think we should use static objects rather than strings because its
more clear - I'm echoing spivs statement here about static analysis too.

I agree that we dont need to try to optimise the actual comparisons
though.

Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060616/09079c68/attachment.pgp 


More information about the bazaar mailing list