# Re: \[PATCH v2 0/5\] Inspect reflog data programmatically in more tests

- From: Han-Wen Nienhuys \<hidden\>
- Date: 2021-12-02 16:12:04 
- List: git
- Page: https://ratatoskr.run/git/2021/12/7913731
- Thread: https://ratatoskr.run/git/2021/11/7912820/t.md

```text
On Tue, Nov 30, 2021 at 12:41 AM Ævar Arnfjörð Bjarmason
[ref] 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
```
