[PATCH 0/2] minor fast-export speedup
- From
Jeff King <peff@peff.net>
- Date
- Mar 17, 2013, 08:32 UTC
- Message-ID
- <20130317083235.GA29907@sigill.intra.peff.net>
While grepping through all of the calls to parse_object (to see how they handled error conditions, for the other series I just posted), I noticed this opportunity for a small speedup in fast-export (5-15%). The first patch is a cleanup, the second is the interesting bit.
[1/2]: fast-export: rename handle_object function [2/2]: fast-export: do not load blob objects twice
A useful third patch on top might be to stream blobs out rather than load them into memory, but I didn't want to go there tonight.
-Peff