[plugin] dirstate experiments

John Arbash Meinel john at arbash-meinel.com
Wed Jun 14 13:48:08 BST 2006


Robert Collins wrote:
> On Wed, 2006-06-14 at 01:38 -0500, John Arbash Meinel wrote:
>> After reading Robert's discussion of possible dirstate requirements, I
>> went ahead and implemented it in a few possible formats.
> 
> Nice  -  I'm *really* glad I did a writeup :). I shall be
> peeking/borrowing from your code I suspect - though I'm planning to
> start from the new tree format and work in from there - I may end up
> with a different feel to things.
> 
> Whats flat vs blob ?
> 
> Rob

Flat is newline terminated objects, with null terminated fields.
Blob uses struct to create entries with packed header information, and
then includes the length of the strings. I can think of a few variations
on this theme to try and get the sizes down a bit.

The biggest thing with the 'sql' isn't shown with these tests. And that
is the ability to insert/remove an entry, without having to write out
all the other fields. That requires more test commands, though.

John
=:->


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060614/bbcda581/attachment.pgp 


More information about the bazaar mailing list