Skip to content

constraint-solver: compute solved-for range constraints directly#3782

Open
pacheco wants to merge 1 commit into
mainfrom
t4-split/3-implied-affine-range-constraints
Open

constraint-solver: compute solved-for range constraints directly#3782
pacheco wants to merge 1 commit into
mainfrom
t4-split/3-implied-affine-range-constraints

Conversation

@pacheco

@pacheco pacheco commented Jul 5, 2026

Copy link
Copy Markdown
Collaborator

Avoid materializing a solved expression per variable via try_solve_for. Instead compute each variable's implied range constraint directly from the other variables' range constraints, querying each one only once. Output-identical.

On my machine, this improves the wasm reth apc benchmark by ~1.96× on main, and on top of #3781 by ~1.45×

Avoid materializing a solved expression per variable via try_solve_for.
Instead compute each variable's implied range constraint directly from
the other variables' range constraints, querying each one only once.
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