Thoughts on file ids

Martin Pool mbp at canonical.com
Fri May 6 13:42:22 UTC 2011


Yeah, I was thinking of wt access possibly being simpler and faster by name,
but you're right this will need testing and may well be a problem for
committed trees.
On May 6, 2011 3:02 PM, "John Arbash Meinel" <john at arbash-meinel.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 05/06/2011 02:57 PM, Martin Pool wrote:
>> That's a good explanation of it, and I'd like to separate those three
>> things too. Accessing more tree contents by name rather than id may well
>> improve performance too.
>>
>
> Right now data is stored in the repository very much by file-id.
> Probably just fallthrough from how we decided to reference it. But
> accessing *repository* content by path will always cause us to
> dereference it from an Inventory (which is *also* stored based on
> file-id, so it is pretty worst-case behavior).
>
> If we do chose to switch, then we'll also want to switch our storage
> behavior.
>
> John
> =:->
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk3D8UYACgkQJdeBCYSNAAPMpACgpbuqz7U7+X5XyPu6GsrTxGqO
> mukAn0dwerQYovzx59XJNvhbatPvV7c2
> =9FHt
> -----END PGP SIGNATURE-----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/bazaar/attachments/20110506/969e8bf7/attachment.html>


More information about the bazaar mailing list