mbox series

[v2,0/2] oidset: use khash

Message ID 64911aec-71cd-d990-5dfd-bf2c3163690c@web.de (mailing list archive)
Headers show
Series oidset: use khash | expand

Message

René Scharfe Oct. 3, 2018, 1:11 p.m. UTC
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(-)