diff options
author | Elijah Newren <newren@gmail.com> | 2020-11-11 20:02:18 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-11-11 12:55:27 -0800 |
commit | a208ec1f0b654390ad06372c53b7ffe785052d98 (patch) | |
tree | d4854d3c5d85e077607c64d9b4d9b02e2fa2acdd /oidmap.h | |
parent | strmap: add a strset sub-type (diff) | |
download | tgif-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 'oidmap.h')
0 files changed, 0 insertions, 0 deletions