tvl-depot/tvix/store/src
edef a11abc02e2 feat(nix-compat/nar/reader): provide passthrough buffered I/O
Allow taking advantage of the buffer of the underlying reader to avoid
unnecessary copies of file data.

We can't easily implement the methods of BufRead directly, since we
have some extra I/O to perform in the final consume() invocation.

That could be resolved at the cost of additional bookkeeping, but this
will suffice for now.

Change-Id: I8100cf0abd79e7469670b8596bd989be5db44a91
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10089
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2023-11-19 09:53:10 +00:00
..
bin refactor(tvix/castore/tonic): make async, support wait-connect=? 2023-11-15 06:43:31 +00:00
fs refactor(tvix/store/fs): simpllify read 2023-11-18 23:07:24 +00:00
nar feat(nix-compat/nar/reader): provide passthrough buffered I/O 2023-11-19 09:53:10 +00:00
pathinfoservice refactor(tvix/castore/tonic): make async, support wait-connect=? 2023-11-15 06:43:31 +00:00
proto feat(tvix/store): From<&nix_compat::...::NarInfo<'_>> for PathInfo 2023-11-18 19:38:15 +00:00
tests refactor(tvix/store/tests/nar_renderer): use castorepb consistently 2023-11-05 12:20:19 +00:00
lib.rs refactor(tvix/store): Upgrade tokio-listener to get tonic support 2023-10-14 18:56:51 +00:00