summaryrefslogtreecommitdiff
path: root/src/diff_driver.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2016-03-20 12:01:45 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2016-03-20 12:01:45 +0100
commit4ed9e939e2e44d202799b2562ac95eb9da5689e3 (patch)
tree27ef3a12b403a4c8b9164594deb9364cfbebe05c /src/diff_driver.h
parent60a194aa86d54ffb55c1abff8d0ef05647f936e8 (diff)
downloadlibgit2-cmn/tree-reuse.tar.gz
tree: store the entries in a growable arraycmn/tree-reuse
Take advantage of the constant size of tree-owned arrays and store them in an array instead of a pool. This still lets us free them all at once but lets the system allocator do the work of fitting them in.
Diffstat (limited to 'src/diff_driver.h')
0 files changed, 0 insertions, 0 deletions