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

Re: Serious performance regression in diff between 1.6.6 and 1.7.0

From
Brian Downing <bdowning@lavos.net>
Date
Jun 10, 2010, 18:42 UTC
Message-ID
<20100610184246.GD2635@glaurung.lavos.net>
In-Reply-To
<20100610181421.GC2635@glaurung.lavos.net>
On Thu, Jun 10, 2010 at 01:14:21PM -0500, Brian Downing wrote:
Show 5 quoted lines
> That makes it look sort of exponential (perhaps around files^1.5),
> though from what I can understand of the find_cache_pos code in
> unpack-trees it would depend on the exact shape of the repository.  It
> does seem to linear-search over whole directory trees of the index
> repeatedly, though, which would support the exponential theory.

(I meant polynomial with an exponent > 1 here, not exponential [in the 2^n sense]; sorry!)

-bcd
Previous: Brian DowningNext: Brian Downing
Message 4 of 6 in “Serious performance regression in diff between 1.6.6 and 1.7.0”
  1. Brian DowningJun 10, 2010
  2. Brian DowningJun 10, 2010
  3. Brian DowningJun 10, 2010
  4. Brian DowningJun 10, 2010
  5. unpack-trees: Make index lookahead less pessimalBrian Downing, Jun 11, 2010
  6. Junio C HamanoJun 11, 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.