summaryrefslogtreecommitdiff
path: root/contrib/hooks/pre-auto-gc-battery
diff options
context:
space:
mode:
authorLibravatar Elijah Newren <newren@gmail.com>2020-11-11 20:02:18 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-11-11 12:55:27 -0800
commita208ec1f0b654390ad06372c53b7ffe785052d98 (patch)
treed4854d3c5d85e077607c64d9b4d9b02e2fa2acdd /contrib/hooks/pre-auto-gc-battery
parentstrmap: add a strset sub-type (diff)
downloadtgif-a208ec1f0b654390ad06372c53b7ffe785052d98.tar.xz
strmap: enable allocations to come from a mem_pool
For heavy users of strmaps, allowing the keys and entries to be allocated from a memory pool can provide significant overhead savings. Add an option to strmap_init_with_options() to specify a memory pool. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/hooks/pre-auto-gc-battery')
0 files changed, 0 insertions, 0 deletions