tvl-depot/tvix/eval/src
Aspen Smith 5f0f4ea374 refactor(tvix/eval): Box Value::String
NixString is *quite* large - like 80 bytes - because of the extra
capacity value for BString and because of the context. We want to keep
Value small since we're passing it around a lot, so let's box the
NixString inside Value::String to save on some memory, and make cloning
ostensibly a little cheaper

Change-Id: I343c8b4e7f61dc3dcbbaba4382efb3b3e5bbabb2
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10729
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
2024-02-02 16:16:56 +00:00
..
builtins refactor(tvix/eval): Box Value::String 2024-02-02 16:16:56 +00:00
compiler refactor(tvix/eval): Box Value::String 2024-02-02 16:16:56 +00:00
tests feat(tvix/eval/tvix_tests): add some more xml tests 2024-01-25 12:06:44 +00:00
value refactor(tvix/eval): Box Value::String 2024-02-02 16:16:56 +00:00
vm refactor(tvix/eval): Box Value::String 2024-02-02 16:16:56 +00:00
chunk.rs feat(tvix/eval): Don't emit OpForce for non-thunk constants 2024-02-01 21:08:35 +00:00
errors.rs fix(tvix): Represent strings as byte arrays 2024-01-31 14:51:49 +00:00
io.rs refactor(tvix): use io::Result for EvalIO 2023-12-12 14:28:50 +00:00
lib.rs refactor(tvix/eval): move Evaluation::{default,new_pure}() again 2024-01-18 14:24:40 +00:00
nix_search_path.rs refactor(tvix/eval): generalize EvalIO container 2024-01-18 09:09:15 +00:00
observer.rs feat(tvix/eval/observer): Allow capturing timing of events 2024-01-31 04:41:37 +00:00
opcode.rs refactor(tvix/eval): let OpCoerceToString select the CoercionKind 2023-12-29 21:34:45 +00:00
pretty_ast.rs fix(tvix/eval): fix current clippy warnings 2022-12-25 18:25:06 +00:00
properties.rs refactor(tvix/eval): Don't (ab)use PartialEq for Nix equality 2022-09-18 22:03:41 +00:00
source.rs refactor(tvix/eval): impl Default for SourceCode 2023-08-20 21:52:21 +00:00
spans.rs feat(tvix/eval): drop LightSpan::Delayed 2023-12-12 14:34:28 +00:00
systems.rs fix(tvix/eval): fix current clippy warnings 2022-12-25 18:25:06 +00:00
test_utils.rs test(tvix/eval): Add proof-of-concept test for Chunk 2022-09-18 17:55:06 +00:00
upvalues.rs fix(tvix/eval): remove impl PartialEq for Value 2022-11-04 00:30:13 +00:00
warnings.rs feat(tvix/glue): emit a warning in case of bad SRI hashes 2024-01-03 13:01:02 +00:00