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

Re: [PATCH] diff: release blobs after generating textual diff.

From
Nicolas Pitre <nico@cam.org>
Date
May 6, 2007, 17:03 UTC
Message-ID
<alpine.LFD.0.99.0705061301190.24220@xanadu.home>
In-Reply-To
<7vr6pucp9e.fsf@assigned-by-dhcp.cox.net>
On Sun, 6 May 2007, Junio C Hamano wrote:
Show 14 quoted lines
> This reduces the memory pressure when dealing with many paths.
> 
> An unscientific test of running "diff-tree --stat --summary -M"
> between v2.6.19 and v2.6.20-rc1 in the linux kernel repository
> indicates that the number of minor faults are reduced by 2/3
> (153k vs 49k).
> 
> Signed-off-by: Junio C Hamano <junkio@cox.net>
> ---
> 
>  * This is still a WIP, not in the sense that it breaks anything
>    (it doesn't seem to), but in the sense that it is not known
>    if it is useful in general and would make that much of a
>    difference with a project much larger than the kernel.

This can only be good. People are really starting to use Git with gigantic repos on limited memory hardware.

Nicolas
Previous: Junio C HamanoNext: Robin Rosenberg
Message 4 of 6 in “diff: release blobs after generating textual diff.”
  1. diff: release blobs after generating textual diff.Junio C Hamano, May 6, 2007
  2. diff.c: truly honor size_only request for populate_filespec.Junio C Hamano, May 6, 2007
  3. diff: use filespec as in-place size cacheJunio C Hamano, May 6, 2007
  4. Nicolas PitreMay 6, 2007
  5. Robin RosenbergMay 6, 2007
  6. Junio C HamanoMay 8, 2007

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.