Thoughts on file ids

John Arbash Meinel john at arbash-meinel.com
Fri May 6 13:01:59 UTC 2011


-----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-----



More information about the bazaar mailing list