Skip to content

Commit a489e67

Browse files
jnthntatumcopybara-github
authored andcommitted
WIP: simplify recursive planning limit checks.
Instead of planning recursively up to the limit, the behavior now is to check if the AST is small enough to fit in the limit and either fail or swap back to the stack machine implementation This simplifies the planner logic step and avoids some unpredictable behavior around wrapping recursive sub-programs in stack machine steps. PiperOrigin-RevId: 878154486
1 parent 0295c52 commit a489e67

6 files changed

Lines changed: 161 additions & 151 deletions

File tree

eval/compiler/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ cc_library(
3333
"//base:data",
3434
"//common:expr",
3535
"//common:native_type",
36+
"//common:navigable_ast",
3637
"//common:value",
3738
"//eval/eval:direct_expression_step",
3839
"//eval/eval:evaluator_core",

0 commit comments

Comments
 (0)