tvl-depot/tvix/glue/src
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
..
builtins fix(tvix/eval): Replace inner NixString repr with Box<Bstr> 2024-02-13 16:49:53 +00:00
tests fix(tvix/glue/tests): resolve logic error in hasContextInAttrKeys 2024-01-22 14:24:51 +00:00
.skip-subtree refactor(tvix): move tvix glue code into glue crate 2023-11-04 15:18:44 +00:00
fetchurl.nix refactor(tvix): move tvix glue code into glue crate 2023-11-04 15:18:44 +00:00
known_paths.rs refactor(nix-compat): use StorePathRef for hash derivation modulo 2024-01-16 08:37:07 +00:00
lib.rs refactor(tvix/eval): generalize EvalIO container 2024-01-18 09:09:15 +00:00
refscan.rs refactor(tvix): move tvix glue code into glue crate 2023-11-04 15:18:44 +00:00
tvix_build.rs refactor(tvix/glue): have derivation_to_build_request consume inputs 2024-01-15 18:25:19 +00:00
tvix_io.rs feat(tvix/glue): use TvixStoreIO as derivation builtin state 2024-01-18 14:28:00 +00:00
tvix_store_io.rs fix(tvix/eval): Replace inner NixString repr with Box<Bstr> 2024-02-13 16:49:53 +00:00