Re: Mercurial 0.3 vs git benchmarks

From: Linus Torvalds
Date: Mon Apr 25 2005 - 23:24:13 EST




On Mon, 25 Apr 2005, Chris Wedgwood wrote:
>
> On Mon, Apr 25, 2005 at 07:08:28PM -0700, Linus Torvalds wrote:
>
> > If you're checking in a change to 1000+ files, you're doing
> > something wrong.
>
> arch or subsystem merge?

No, if it's a merge, you just suck in all the already-compressed objects.

You never compress anything new - you get the objects, you update your
tree index, and you're done. No overhead anywhere - a clean merge may
_look_ like it's changing thousands of files, but it didn't change a
single _object_ anywhere, it just re-arranged the objects and created a
new view of them.

Most merges are literally just a tree-level thing. Sometimes you have to
do a content merge, but that tends to be a file or two.

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/