merge-ort: set up a memory pool
commit4137c54b902faa640c485dc6d20eaac946e503a5
authorElijah Newren <newren@gmail.com>
Fri, 30 Jul 2021 11:47:39 +0000 (30 11:47 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 30 Jul 2021 16:01:18 +0000 (30 09:01 -0700)
tree134e1111f5c69fde266ebd90face5c2f0c42d59f
parentcdf2241c717b05845ff9e25b87be6ca7559e82eb
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>
merge-ort.c