diff options
author | edef <edef@edef.eu> | 2023-10-09T17·32+0000 |
---|---|---|
committer | edef <edef@edef.eu> | 2023-10-09T18·22+0000 |
commit | 49b106b0cb996dd4bf5a5d4ecabc2a7e40025a5f (patch) | |
tree | 20293ac551e6b56a66556eae25205facce80e1f9 /tvix/nar-bridge/default.nix | |
parent | eb167c71a779b978a1fd4d6cd29fdf47268c578d (diff) |
fix(tvix/nix-compat): don't transiently allocate names r/6752
The point of clearing and reusing the same Vec is to avoid transiently allocating for every directory entry. This was lost in cl/8974 when we switched from String to Vec<u8>. Change-Id: I65647e5c4e54e88f1fe45e9a752cb5154d98fb33 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9607 Autosubmit: edef <edef@edef.eu> Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/nar-bridge/default.nix')
0 files changed, 0 insertions, 0 deletions