[MERGE] 1.12-preview formats

Robert Collins robertc at robertcollins.net
Fri Dec 19 23:46:58 GMT 2008


On Thu, 2008-12-18 at 17:10 +1000, Ian Clatworthy wrote:
> For the sake of code clarity, I've introduced this new format
> in a new file - workingtree_5.py - and the new classes
> subclass their wt4 counterparts. That's consistent with
> how other workingtrees have been introduced fwiw. In theory,
> it ought to be ever so slightly faster to make wt5 the
> complex class and for wt4 to subclass it - the approach we
> take with branch & repo formats. I personally don't think
> the performance gain is worth the trouble/complexity but
> I'm open to reconsidering this if others think otherwise.

Its not about performance, its about avoiding

base
imp1(base)
imp2(imp1)
imp3(imp2)

And instead having
base
imp1(base)
imp2(base)
imp3(base)

Or

base
imp1(base)
base2(base)
imp2(base2)
imp3(base2)

I think there is already a base class prepped for wt5 in the wt4
source,though I may be remembering in-progress stuff in a source tree
somewhere.

-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: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20081220/0383355e/attachment-0001.pgp 


More information about the bazaar mailing list