]> git.ipfire.org Git - thirdparty/git.git/commit
make object_directory.loose_objects_subdir_seen a bitmap
authorEric Wong <e@80x24.org>
Wed, 7 Jul 2021 23:10:17 +0000 (23:10 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 8 Jul 2021 04:27:58 +0000 (21:27 -0700)
commit33f379eee63a0529f85079857598ac6325d3aec5
tree010f6c4d388fbdeabfc5ba2e29cb9c7996004bab
parent407532f82d3fdfd18d4ec276ddeb359e7c724aa6
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>
object-file.c
object-store.h