tvl-depot/tvix/tools/crunch-v2
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
..
protos feat(tvix/tools/crunch-v2): init 2024-01-27 18:23:40 +00:00
src refactor(nix-compat/nar/reader): reuse prev_name allocation 2024-05-08 15:30:46 +00:00
.gitignore feat(tvix/tools/crunch-v2): init 2024-01-27 18:23:40 +00:00
build.rs feat(tvix/tools/crunch-v2): init 2024-01-27 18:23:40 +00:00
Cargo.lock chore(tvix/tools/crunch-v2): upgrade tokio 2024-05-08 10:19:17 +00:00
Cargo.nix feat(tvix/tools/crunch-v2): add CLI args 2024-01-27 18:40:48 +00:00
Cargo.toml chore(tvix/tools/crunch-v2): upgrade tokio 2024-05-08 10:19:17 +00:00
default.nix feat(tvix/tools/crunch-v2): init 2024-01-27 18:23:40 +00:00
OWNERS feat(tvix/tools/crunch-v2): init 2024-01-27 18:23:40 +00:00