All of lore.kernel.org
 help / color / mirror / Atom feed
* git-svn: memoize cmt_metadata
@ 2012-09-05 18:25 Lalit Chhabra
  0 siblings, 0 replies; only message in thread
From: Lalit Chhabra @ 2012-09-05 18:25 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-09-05 18:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-05 18:25 git-svn: memoize cmt_metadata Lalit Chhabra

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.