about summary refs log tree commit diff
path: root/fun
diff options
context:
space:
mode:
authoredef <edef@edef.eu>2023-10-09T17·32+0000
committeredef <edef@edef.eu>2023-10-09T18·22+0000
commit49b106b0cb996dd4bf5a5d4ecabc2a7e40025a5f (patch)
tree20293ac551e6b56a66556eae25205facce80e1f9 /fun
parenteb167c71a779b978a1fd4d6cd29fdf47268c578d (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 'fun')
0 files changed, 0 insertions, 0 deletions