tvl-depot/tvix/tools/crunch-v2/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
..
bin feat(tvix/tools/crunch-v2): add CLI args 2024-01-27 18:40:48 +00:00
lib.rs feat(tvix/tools/crunch-v2): add CLI args 2024-01-27 18:40:48 +00:00
main.rs refactor(nix-compat/nar/reader): reuse prev_name allocation 2024-05-08 15:30:46 +00:00
remote.rs feat(tvix/tools/crunch-v2): init 2024-01-27 18:23:40 +00:00