Skip to content

Optimize functional selector matching - #705

Open
preciz wants to merge 1 commit into
philss:mainfrom
preciz:perf-opt-functional-selector-minimal
Open

Optimize functional selector matching#705
preciz wants to merge 1 commit into
philss:mainfrom
preciz:perf-opt-functional-selector-minimal

Conversation

@preciz

@preciz preciz commented Aug 15, 2026

Copy link
Copy Markdown
Contributor

Instead of generating an+b values until one matches, solve the formula directly with bounds and a remainder check. This turns each match from a stream scan into O(1) arithmetic.

Instead of generating an+b values until one matches, solve the formula directly with bounds and a remainder check. This turns each match from a stream scan into O(1) arithmetic.
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