git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Roundy <droundy@abridgegame.org>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Juliusz Chroboczek <Juliusz.Chroboczek@pps.jussieu.fr>,
	Git Mailing List <git@vger.kernel.org>,
	darcs-devel@darcs.net
Subject: Re: [darcs-devel] Re: Darcs-git pulling from the Linux repo: a Linux VM question
Date: Thu, 28 Apr 2005 07:39:52 -0400	[thread overview]
Message-ID: <20050428113947.GC9422@abridgegame.org> (raw)
In-Reply-To: <Pine.LNX.4.58.0504270910510.18901@ppc970.osdl.org>

On Wed, Apr 27, 2005 at 09:16:03AM -0700, Linus Torvalds wrote:
> On Wed, 27 Apr 2005, Juliusz Chroboczek wrote:
> > Here we're speaking about the initial import.  Committed on 17 April
> > 2005 by Linus Torvalds, with the comment ``Let it rip''.  220 MB of
> > changed files in a single commit.  2 minutes real time just to read
> > all the files, never mind doing anything useful with them.
> 
> I think you may well want to consider the initial commit special. In many 
> ways it is - it has no parents etc, so even apart from the fact that the 
> initial commit obviously tends to be a lot bigger than any other commit, 
> it actually fundamnetally is _technically_ different too.

This has been discussed, and while I'm not opposed to special-casing the
initial commit, mostly we've taken the stance so far of not special-casing.
It's much nicer if we can make darcs efficient enough to perform the
initial commit without a special case, which has the nice side-effect of
also improving other cases.

When we're desperate, we'll special-case the initial commit, but currently
I'm sure we can pretty easily adjust things by making the git-tree-reading
lazy, which should pretty well address both the memory and speed
concerns--and also improve performance of other commands.  Perhaps more to
the point, it will also ensure that the same optimizations that work for
working with darcs repos will help when dealing with git repos.
-- 
David Roundy
http://www.darcs.net

  reply	other threads:[~2005-04-28 11:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-27 13:10 Darcs-git pulling from the Linux repo: a Linux VM question Juliusz Chroboczek
2005-04-27 15:31 ` Linus Torvalds
2005-04-27 15:54   ` Juliusz Chroboczek
2005-04-27 16:16     ` Linus Torvalds
2005-04-28 11:39       ` David Roundy [this message]
2005-04-28 15:36         ` [darcs-devel] " Juliusz Chroboczek
2005-04-29 11:25           ` David Roundy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050428113947.GC9422@abridgegame.org \
    --to=droundy@abridgegame.org \
    --cc=Juliusz.Chroboczek@pps.jussieu.fr \
    --cc=darcs-devel@darcs.net \
    --cc=git@vger.kernel.org \
    --cc=torvalds@osdl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).