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

Re: [PATCH 3/3] use cache for function names in hunk headers

From
Sverre Rabbelier <srabbelier@gmail.com>
Date
Sep 20, 2010, 19:15 UTC
Message-ID
<AANLkTi==Bcc8kkCXX1qN1QnpMF7U7DRhUkdwaStmkQ66@mail.gmail.com>
In-Reply-To
<20100920173605.GA13057@localhost>
Heya,
On Mon, Sep 20, 2010 at 19:36, Clemens Buchacher <drizzd@aon.at> wrote:
> The test creates a file with 50000 lines and a one-line change
> every 10 lines, i.e., about 5000 hunks. Since none of the lines
> matches a function definition, previous to this optimization, the
> file was searched 5000 times.
Ah, that makes sense, please add (something like) that to the commit message :).
-- 
Cheers,

Sverre Rabbelier
Previous: Clemens BuchacherNext: Clemens Buchacher
Message 7 of 13 in “Patch id tests and diff performance optimization”
  1. Clemens BuchacherSep 19, 2010
  2. 1/3 add rebase patch id testsClemens Buchacher, Sep 19, 2010
  3. 2/3 do not search functions for patch IDClemens Buchacher, Sep 19, 2010
  4. 3/3 use cache for function names in hunk headersClemens Buchacher, Sep 19, 2010
  5. Sverre RabbelierSep 19, 2010
  6. Clemens BuchacherSep 20, 2010
  7. Sverre RabbelierSep 20, 2010
  8. 3/3 use cache for function names in hunk headersClemens Buchacher, Sep 23, 2010
  9. René ScharfeSep 26, 2010
  10. Clemens BuchacherSep 26, 2010
  11. René ScharfeSep 26, 2010
  12. Junio C HamanoSep 27, 2010
  13. Junio C HamanoSep 30, 2010

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.