Re: [PATCH v2 0/5] Inspect reflog data programmatically in more tests
- From
Han-Wen Nienhuys <hanwen@google.com>
- Date
- Dec 2, 2021, 16:11 UTC
- Message-ID
- <CAFQ2z_MwL2=c1DZV3jvUau35ArseqxkvjTQo0DjYhJobE_zxtg@mail.gmail.com>
- In-Reply-To
- <211130.86r1ayedhn.gmgdl@evledraar.gmail.com>
On Tue, Nov 30, 2021 at 12:41 AM Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:
Show 5 quoted lines
> 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