diff options
author | Vincent Ambo <mail@tazj.in> | 2023-02-27T10·32+0300 |
---|---|---|
committer | tazjin <tazjin@tvl.su> | 2023-03-13T20·30+0000 |
commit | 1941082cbb4aa977bc5210516536efdbf96b927c (patch) | |
tree | 3423c0972eb8a4da12c157ccecb2abafd46ed5ff /tvix/eval/src/builtins | |
parent | 4bbfeaf1cbf6f0d1ea94c0fc405512259e856e0a (diff) |
refactor(tvix/eval): simplify NixString representation(s) r/5967
Instead of the two different representations (which we don't really use much), use a `Box<str>` (which potentially shaves another 8 bytes off `Value`). NixString values themselves are immutable anyways (which was a guarantee we already had with `SmolStr`), so this doesn't change anything else. Change-Id: I1d8454c056c21ecb0aebc473cfb3ae06cd70dbb6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/8151 Reviewed-by: raitobezarius <tvl@lahfa.xyz> Reviewed-by: flokli <flokli@flokli.de> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src/builtins')
0 files changed, 0 insertions, 0 deletions