summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2006-08-28 13:02:51 -0400
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-01-14 02:15:10 -0500
commite2eb469d1ff9595882c8329ad415b1d7246769d0 (patch)
treebee2c6b297fbf6298e8470577bb93db659e595c6 /Makefile
parentImplemented tree delta compression in fast-import. (diff)
downloadtgif-e2eb469d1ff9595882c8329ad415b1d7246769d0.tar.xz
Recycle data buffers for tree generation in fast-import.
We only ever generate at most two tree streams at a time. Since most trees are around the same size we can simply recycle the buffers from one tree generation to the next rather than constantly xmalloc'ing and free'ing them. This should perform slightly better when handling a large number of trees as malloc has less work to do. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions