[MERGE] Enable merging PreviewTrees
robertc at robertcollins.net
Thu Oct 9 07:47:30 BST 2008
On Thu, 2008-10-09 at 00:02 -0400, Aaron Bentley wrote:
> Inventory objects are meant to be an implementation detail of certain
> Tree types. Hitting the inventory is expensive on DirState-based
> and we've worked hard to eliminate .inventory access from our key
> codepaths. PreviewTree is the next step, because it eliminates the
> .inventory attribute entirely.
I've replied to the prior thread about this patch, but let me note that
we can write a more lazy inventory for dirstate - inventory supports
lookups by name (the path2id method would seed loading the data via
bisection, then foo[id] would succeed).
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20081009/56db095e/attachment.pgp
More information about the bazaar