On Tue, Nov 30, 2021 at 12:41 AM Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx> wrote: > I was aiming more for the lack of premature optimization there, > i.e. instead of byte-twiddling things by injecting \0s we could just > have char */size_t offsets (as noted elsewhere), which would also nicely > allow binary storage formats, if those formats happen to have an > embedded string. Is that true of reftable? reftable zlib compresses the reflog, so you can't mmap strings from the storage. -- Han-Wen Nienhuys - Google Munich I work 80%. Don't expect answers from me on Fridays. -- Google Germany GmbH, Erika-Mann-Strasse 33, 80636 Munich Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg Geschäftsführer: Paul Manicle, Halimah DeLaine Prado