• S
    Optimize index creation on large object sets in fast-import. · 2fce1f3c
    Shawn O. Pearce 提交于
    When we are generating multiple packfiles at once we only need
    to scan the blocks of object_entry structs which contain objects
    for the current packfile.  Because the most recent blocks are at
    the front of the linked list, and because all new objects going
    into the current file are allocated from the front of that list,
    we can stop scanning for objects as soon as we identify one which
    doesn't belong to the current packfile.
    Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
    2fce1f3c
fast-import.c 43.9 KB