Commit a489e67
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: 8781544861 parent 0295c52 commit a489e67
6 files changed
Lines changed: 161 additions & 151 deletions
File tree
- eval
- compiler
- public
- runtime
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
0 commit comments