[PATCH 0/2] minor cat-file optimizations
- From
Jeff King <peff@peff.net>
- Date
- May 18, 2016, 16:52 UTC
- Message-ID
- <20160518165253.GA5379@sigill.intra.peff.net>
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
-Peff