Continue the discussion of speeding up oidset started in [1] here in its own thread. [1] https://public-inbox.org/git/20180811172350.GA2689@xxxxxxxxxxxxxxxxxxxxx/ 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