Skip to content

Exhaustive search: precompute assignment-independent constraint data#3781

Open
pacheco wants to merge 3 commits into
mainfrom
exhaustive-search-prepared-constraints
Open

Exhaustive search: precompute assignment-independent constraint data#3781
pacheco wants to merge 3 commits into
mainfrom
exhaustive-search-prepared-constraints

Conversation

@pacheco

@pacheco pacheco commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Precompute everything assignment-independent once per exhaustive-search variable set instead of clone + substitute + solve per assignment.
Adds GroupedExpression::evaluate_assignment. Should be output-identical to calling solve.

On my machine, this improves the wasm reth apc benchmark by ~3.8x

pacheco and others added 3 commits July 3, 2026 19:32
Precompute everything assignment-independent once per exhaustive-search
variable set instead of clone + substitute + solve per assignment.
Adds GroupedExpression::evaluate_assignment. Output-identical.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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