diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2006-08-28 13:15:48 -0400 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2007-01-14 02:15:10 -0500 |
commit | 243f801d1d08753cd4eff2a23e245f7575c37ad5 (patch) | |
tree | b4c6ea72c82727ab794a43ddd591fdea171d3100 /revision.h | |
parent | Recycle data buffers for tree generation in fast-import. (diff) | |
download | tgif-243f801d1d08753cd4eff2a23e245f7575c37ad5.tar.xz |
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 <spearce@spearce.org>
Diffstat (limited to 'revision.h')
0 files changed, 0 insertions, 0 deletions