tvl-depot/tvix/eval/src/value
Vincent Ambo 1941082cbb refactor(tvix/eval): simplify NixString representation(s)
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
2023-03-13 20:30:59 +00:00
..
attrs refactor(tvix/eval): simplify NixString representation(s) 2023-03-13 20:30:59 +00:00
arbitrary.rs chore(tvix/eval): remove dead comment 2023-01-26 23:30:43 +00:00
attrs.rs refactor(tvix/eval): simplify NixString representation(s) 2023-03-13 20:30:59 +00:00
builtin.rs refactor(tvix/eval): flatten call stack of VM using generators 2023-03-13 20:30:59 +00:00
function.rs fix(tvix/eval): fix current clippy warnings 2022-12-25 18:25:06 +00:00
list.rs refactor(tvix/eval): wrap NixList in Rc 2023-03-13 20:30:59 +00:00
mod.rs refactor(tvix/eval): flatten call stack of VM using generators 2023-03-13 20:30:59 +00:00
path.rs refactor(tvix/eval): factor out all calls to canon_path 2022-10-13 09:07:47 +00:00
string.rs refactor(tvix/eval): simplify NixString representation(s) 2023-03-13 20:30:59 +00:00
thunk.rs refactor(tvix/eval): flatten call stack of VM using generators 2023-03-13 20:30:59 +00:00