tvl-depot/tvix/glue
Aspen Smith e3c92ac3b4 fix(tvix/eval): Replace inner NixString repr with Box<Bstr>
Storing a full BString here incurs the extra overhead of the capacity
for the inner byte-vector, which we basically never use as Nix strings
are immutable (and we don't do any mutation / sharing analysis).
Switching to a Box<BStr> cuts us from 72 bytes to 64 bytes per
string (and there are a lot of strings!)

Change-Id: I11f34c14a08fa02759f260b1c78b2a2b981714e4
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10794
Autosubmit: aspen <root@gws.fyi>
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2024-02-13 16:49:53 +00:00
..
benches fix(tvix/glue/benches/eval): add impure_builtins 2024-01-20 00:33:04 +00:00
src fix(tvix/eval): Replace inner NixString repr with Box<Bstr> 2024-02-13 16:49:53 +00:00
Cargo.toml feat(tvix/glue): introduce test suite for context strings 2024-01-17 17:31:07 +00:00
default.nix refactor(tvix): move tvix glue code into glue crate 2023-11-04 15:18:44 +00:00