aboutsummaryrefslogtreecommitdiffstats
path: root/range-diff.c
diff options
context:
space:
mode:
authorElijah Newren <newren@gmail.com>2020-11-11 20:02:18 +0000
committerJunio C Hamano <gitster@pobox.com>2020-11-11 12:55:27 -0800
commita208ec1f0b654390ad06372c53b7ffe785052d98 (patch)
treed4854d3c5d85e077607c64d9b4d9b02e2fa2acdd /range-diff.c
parentstrmap: add a strset sub-type (diff)
downloadgit-a208ec1f0b654390ad06372c53b7ffe785052d98.tar.gz
git-a208ec1f0b654390ad06372c53b7ffe785052d98.zip
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 'range-diff.c')
0 files changed, 0 insertions, 0 deletions