98b89e53e2
Now that I've done a ton of things to make sure Value is small on the stack (16 bytes, which is a perfectly reasonable size for a programming language Value enum), add a test asserting it stays that way. These size improvements have a measurable impact, too - here's the `hello outpath` benchmark compared between canon (as of r/7495) and this commit: hello outpath time: [990.56 ms 995.83 ms 1.0070 s] change: [-7.1397% -6.1302% -5.1651%] (p = 0.00 < 0.05) Performance has improved. Change-Id: If99a0976eab28eb5e516fcd2f4a0e068145af23e Reviewed-on: https://cl.tvl.fyi/c/depot/+/10799 Reviewed-by: raitobezarius <tvl@lahfa.xyz> Tested-by: BuildkiteCI Autosubmit: aspen <root@gws.fyi> Reviewed-by: sterni <sternenseemann@systemli.org> |
||
---|---|---|
.. | ||
builtins | ||
compiler | ||
tests | ||
value | ||
vm | ||
chunk.rs | ||
errors.rs | ||
io.rs | ||
lib.rs | ||
nix_search_path.rs | ||
observer.rs | ||
opcode.rs | ||
pretty_ast.rs | ||
properties.rs | ||
source.rs | ||
spans.rs | ||
systems.rs | ||
test_utils.rs | ||
upvalues.rs | ||
warnings.rs |