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

Re: [PATCH 0/2] minor cat-file optimizations

From
Jeff King <peff@peff.net>
Date
May 18, 2016, 16:54 UTC
Message-ID
<20160518165411.GA5563@sigill.intra.peff.net>
In-Reply-To
<20160518165253.GA5379@sigill.intra.peff.net>
On Wed, May 18, 2016 at 12:52:53PM -0400, Jeff King wrote:
Show 11 quoted lines
> At Git Merge, Charles suggested that "--buffer" should be the default
> for "--batch-all-objects". This bit me again yesterday, so I thought I'd
> actually implement it. :)
> 
> That's in the second patch. The first one is another micro-optimization
> that happens to help the use case I was working on (the speedup there is
> "only" 40%, but the case I was looking at had a pathological number of
> packs, and so was even slower).
> 
>   [1/2]: cat-file: avoid noop calls to sha1_object_info_extended
>   [2/2]: cat-file: default to --buffer when --batch-all-objects is used
Whoops, meant to actually cc Charles.
-Peff
Previous: Jeff KingNext: Jeff King
Message 2 of 4 in “minor cat-file optimizations”
  1. 0/2 minor cat-file optimizationsJeff King, May 18, 2016
  2. Jeff KingMay 18, 2016
  3. 1/2 cat-file: avoid noop calls to sha1_object_info_extendedJeff King, May 18, 2016
  4. 2/2 cat-file: default to --buffer when --batch-all-objects is usedJeff King, May 18, 2016

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.