diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2016-03-20 12:01:45 +0100 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2016-03-20 12:01:45 +0100 |
commit | 4ed9e939e2e44d202799b2562ac95eb9da5689e3 (patch) | |
tree | 27ef3a12b403a4c8b9164594deb9364cfbebe05c /src/checkout.c | |
parent | 60a194aa86d54ffb55c1abff8d0ef05647f936e8 (diff) | |
download | libgit2-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/checkout.c')
0 files changed, 0 insertions, 0 deletions