summaryrefslogtreecommitdiff
path: root/revision.h
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2006-08-28 13:15:48 -0400
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-01-14 02:15:10 -0500
commit243f801d1d08753cd4eff2a23e245f7575c37ad5 (patch)
treeb4c6ea72c82727ab794a43ddd591fdea171d3100 /revision.h
parentRecycle data buffers for tree generation in fast-import. (diff)
downloadtgif-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