diff options
author | Elijah Newren <newren@gmail.com> | 2021-07-30 11:47:39 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-07-30 09:01:18 -0700 |
commit | 4137c54b902faa640c485dc6d20eaac946e503a5 (patch) | |
tree | 134e1111f5c69fde266ebd90face5c2f0c42d59f /t | |
parent | merge-ort: add pool_alloc, pool_calloc, and pool_strndup wrappers (diff) | |
download | tgif-4137c54b902faa640c485dc6d20eaac946e503a5.tar.xz |
merge-ort: set up a memory pool
merge-ort has a lot of data structures, and they all tend to be freed
together in clear_or_reinit_internal_opts(). Set up a memory pool to
allow us to make these allocations and deallocations faster. Future
commits will adjust various callers to make use of this memory pool.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions