From: Han-Wen Nienhuys Date: Thu, 02 Dec 2021 16:11:49 GMT Subject: Re: [PATCH v2 0/5] Inspect reflog data programmatically in more tests Message-ID: In-Reply-To: <211130.86r1ayedhn.gmgdl@evledraar.gmail.com> On Tue, Nov 30, 2021 at 12:41 AM Ævar Arnfjörð Bjarmason 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