• J
    add oidset API · 29c2bd5f
    Jeff King 提交于
    This is similar to many of our uses of sha1-array, but it
    overcomes one limitation of a sha1-array: when you are
    de-duplicating a large input with relatively few unique
    entries, sha1-array uses 20 bytes per non-unique entry.
    Whereas this set will use memory linear in the number of
    unique entries (albeit a few more than 20 bytes due to
    hashmap overhead).
    Signed-off-by: NJeff King <peff@peff.net>
    Signed-off-by: NJunio C Hamano <gitster@pobox.com>
    29c2bd5f
Makefile 78.1 KB