git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git-svn: memoize cmt_metadata

From
LCLalit Chhabra <lchhabra@linuxmail.org>
Date
Sep 5, 2012, 18:25 UTC
Message-ID
<20120905182552.11530@gmx.com>
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
Message 1 of 1 in “git-svn: memoize cmt_metadata”
  1. Lalit ChhabraSep 5, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.