All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Roundy <droundy@abridgegame.org>
To: Juliusz Chroboczek <Juliusz.Chroboczek@pps.jussieu.fr>
Cc: 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: Fri, 29 Apr 2005 07:25:47 -0400	[thread overview]
Message-ID: <20050429112541.GA15698@abridgegame.org> (raw)
In-Reply-To: <7ir7guj4m6.fsf@lanthane.pps.jussieu.fr>

On Thu, Apr 28, 2005 at 05:36:01PM +0200, Juliusz Chroboczek wrote:
> > 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,
> 
> Just to make it clear: reading the git tree is lazy.  The problem is
> somewhere in the higher layers, probably in pull_cmd.

I guess really that's the issue.  Get itself is a special case that we've
already optimized for the initial get.  You'll also run into trouble using
pull to grab an entire plain old darcs repository with a large initial
commit.  We can (and should) also optimize pull, but it's not going to ever
be as efficient as a get is, for the case where you start with an empty
repository.

> There's also another problem: reading the git tree takes 220MB.  Then
> Darcs allocates a further 500MB without calling my code at all.  (Some
> of it is doubtless due to linesPS, that should be more than a handful
> of megabytes.)

The output of linesPS actually does take a huge amount of space.
-- 
David Roundy
http://www.darcs.net

      reply	other threads:[~2005-04-29 11:25 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       ` [darcs-devel] " David Roundy
2005-04-28 15:36         ` Juliusz Chroboczek
2005-04-29 11:25           ` David Roundy [this message]

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=20050429112541.GA15698@abridgegame.org \
    --to=droundy@abridgegame.org \
    --cc=Juliusz.Chroboczek@pps.jussieu.fr \
    --cc=darcs-devel@darcs.net \
    --cc=git@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.