Skip to content

WIP: simplify recursive planning limit checks.#1900

Open
copybara-service[bot] wants to merge 1 commit intomasterfrom
test_878154486
Open

WIP: simplify recursive planning limit checks.#1900
copybara-service[bot] wants to merge 1 commit intomasterfrom
test_878154486

Conversation

@copybara-service
Copy link

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.

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant