snix/tvix/eval/src/compiler
Vincent Ambo 36e5a4cc07 refactor(tvix/eval): take owned ast::Expr in Compiler::compile
This adds a very minimal amount of additional Rc-increments (~1 per
compilation), but makes it a lot easier to add an AST-optimising
compiler pass without incurring a lot of extra cost.

Change-Id: I57208bdfc8882e3ae21c5850e14aa380d3ccea36
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7765
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2023-01-06 12:23:55 +00:00
..
bindings.rs refactor(tvix/eval): take owned ast::Expr in Compiler::compile 2023-01-06 12:23:55 +00:00
import.rs refactor(tvix/eval): streamline construction of globals/builtins 2023-01-04 12:28:43 +00:00
mod.rs refactor(tvix/eval): take owned ast::Expr in Compiler::compile 2023-01-06 12:23:55 +00:00
scope.rs fix(tvix/eval): don't increase with_stack_size in scope inherits 2023-01-06 12:23:55 +00:00