[PATCH v2 0/2] oidset: use khash
- From
René Scharfe <l.s.r@web.de>
- Date
- Oct 3, 2018, 13:11 UTC
- Message-ID
- <64911aec-71cd-d990-5dfd-bf2c3163690c@web.de>
Continue the discussion of speeding up oidset started in [1] here in its own thread.
[1] https://public-inbox.org/git/20180811172350.GA2689@sigill.intra.peff.net/
The first patch does a mild refactoring to support khash structures on the stack, and the second one converts oidset to khash.
khash: factor out kh_release_* oidset: use khash
fetch-pack.c | 2 +- khash.h | 9 +++++++-- oidset.c | 34 ++++++++++++---------------------- oidset.h | 36 ++++++++++++++++++++++++++++-------- 4 files changed, 48 insertions(+), 33 deletions(-)
-- 2.19.0