Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for multiple replacement, predicate pairs in rewrite rules #481

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

dsharlet
Copy link
Owner

@dsharlet dsharlet commented Nov 5, 2024

This allows writing multiple rules with the same pattern more concisely, and generates smaller and faster code because we only attempt to match the expression once for multiple rules with the same pattern.

@dsharlet dsharlet requested a review from vksnk November 5, 2024 00:07
@dsharlet dsharlet merged commit 731621e into main Nov 5, 2024
1 check passed
@dsharlet dsharlet deleted the ds/multiple-predicates branch November 5, 2024 00:39
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.

2 participants