All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Lalit Chhabra" <lchhabra@linuxmail.org>
To: git@vger.kernel.org
Subject: git-svn: memoize cmt_metadata
Date: Wed, 05 Sep 2012 14:25:51 -0400	[thread overview]
Message-ID: <20120905182552.11530@gmx.com> (raw)

Hi,

 I have about 150 "branches = ..." and "tags = ..." lines in my
 .git/config file, and I see a 30x improvement in 'git svn rebase -l'
 when I memoize the cmt_metadata function. (The run time goes
 down from ~150 seconds to ~5 seconds on my machine).

 I see that it was memoized in version:
 * c1927a8 2006-06-27 | git-svn: several graft-branches improvements

 and then removed in version:
 * 396988e 2007-01-13 | git-svn: get rid of Memoize for now...

 Is it safe to re-memoize this function?

 Thanks,
 Lalit Chhabra

                 reply	other threads:[~2012-09-05 18:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20120905182552.11530@gmx.com \
    --to=lchhabra@linuxmail.org \
    --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.