tvl-depot/tvix/nix-compat/src
edef 31d73cd443 refactor(nix-compat/nar/reader): reuse prev_name allocation
We reuse the prev_name allocation for Entry, instead of allocating and
returning a separate Vec.

We encode the `prev_name: None` case as an empty vector, since we don't
allow empty names anyway, and the sorting is equivalent.

Change-Id: I975b37ff873805f5ff099bc82128706891052247
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11607
Reviewed-by: Brian Olsen <me@griff.name>
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2024-05-08 15:30:46 +00:00
..
aterm chore(nix-compat/aterm): migrate from test_case to rstest 2024-04-19 19:22:10 +00:00
bin docs(nix-compat/drvfmt): fix reference 2023-12-21 16:39:07 +00:00
derivation refactor(nix-compat): derivation_or_fod_hash -> hash_derivation_modulo 2024-05-02 10:32:00 +00:00
nar refactor(nix-compat/nar/reader): reuse prev_name allocation 2024-05-08 15:30:46 +00:00
narinfo chore(nix-compat/narinfo): migrate from test_case to rstest 2024-04-19 19:22:10 +00:00
nix_daemon chore(nix-compat): Document daemon protocol version 2024-05-02 16:04:13 +00:00
nixhash chore(nix-compat/nixhash): migrate from test_case to rstest 2024-04-19 19:22:10 +00:00
store_path fix(nix-compat/store_path): use Box<str> 2024-05-08 08:48:59 +00:00
wire refactor(nix-compat/nar/reader): reuse prev_name allocation 2024-05-08 15:30:46 +00:00
lib.rs feat(tvix/nix-compat/nix_daemon/version): add ProtocolVersion 2024-04-18 12:22:08 +00:00
nixbase32.rs chore(nix-compat/nixbase32): migrate from test_case to rstest 2024-04-19 19:22:10 +00:00
path_info.rs feat(tvix/nix-compat/path_info): derive Hash for ExportedPathInfo 2024-04-13 21:41:47 +00:00