From: Shawn O. Pearce Date: Mon, 28 Aug 2006 17:15:48 +0000 (-0400) Subject: Reuse the same buffer for all commits/tags in fast-import. X-Git-Tag: v1.5.0-rc4~14^2~51 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/243f801d1d08753cd4eff2a23e245f7575c37ad5?hp=243f801d1d08753cd4eff2a23e245f7575c37ad5 Reuse the same buffer for all commits/tags in fast-import. Since most commits and tag objects are around the same size and we only generate one at a time we can reuse the same buffer rather than xmalloc'ing and free'ing the buffer every time we generate a commit. Signed-off-by: Shawn O. Pearce ---