diff options
| author | Eric Wong <e@80x24.org> | 2021-07-07 23:10:17 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-07-07 21:27:58 -0700 |
| commit | 33f379eee63a0529f85079857598ac6325d3aec5 (patch) | |
| tree | 010f6c4d388fbdeabfc5ba2e29cb9c7996004bab /commit-graph.c | |
| parent | avoid strlen via strbuf_addstr in link_alt_odb_entry (diff) | |
| download | git-33f379eee63a0529f85079857598ac6325d3aec5.tar.gz git-33f379eee63a0529f85079857598ac6325d3aec5.zip | |
make object_directory.loose_objects_subdir_seen a bitmap
There's no point in using 8 bits per-directory when 1 bit
will do. This saves us 224 bytes per object directory, which
ends up being 22MB when dealing with 100K alternates.
Signed-off-by: Eric Wong <e@80x24.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions
