[RFC] Blob format

Matthieu Moy Matthieu.Moy at imag.fr
Wed Jun 28 13:35:26 BST 2006


Aaron Bentley <aaron.bentley at utoronto.ca> writes:

> Matthieu Moy wrote:
>> It can also be a complement to knits. I think git has something
>> similar. For example, you could keep the knit archive, and
>> periodically add a big "bundle" or "blob" in addition to this. This
>> way, branch would do
>
> I have doubts about whether that combination would work well.  Because
> blobs scale with number of revisions, and knits scale with number of
> files + 2, it seems as though a hybrid approach could easily require
> more round trips than either pure-blob or pure-knit.

Depending on how often you'd update the bundle. If it's rarely
updated, you're most probably right, but otherwise, you'd get one
round-trip for the large bundle, and one (or two for the index) for
each modified file since then. So, if the number of modified files is
small compared to the total number of files, there should be a win.

-- 
Matthieu




More information about the bazaar mailing list