Skip to content

Conversation

natecook1000
Copy link
Member

This optimization recognizes quantifications followed by an atom that can't be matched at the start of the quantification, and converts them to possessive, eliminating any backtracking at that position. This change includes an accessor for the first "required" atom (which will be used in other optimizations), and converts DSL.QuantificationKind to a struct to support the possessification changes.

This optimization recognizes quantifications followed by
an atom that can't be matched at the start of the quantification,
and converts them to possessive, eliminating any backtracking
at that position. This change includes an accessor for the
first "required" atom (which will be used in other
optimizations), and converts DSL.QuantificationKind to a
struct to support the possessification changes.
@natecook1000 natecook1000 marked this pull request as draft October 7, 2025 17:02
@natecook1000 natecook1000 marked this pull request as ready for review October 16, 2025 19:03
@natecook1000 natecook1000 merged commit e539ac1 into swiftlang:feature/perf Oct 16, 2025
20 checks passed
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