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

Revert "Use IndexOf for bounded loops in a regex code gen" #105735

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

stephentoub
Copy link
Member

@stephentoub stephentoub commented Jul 31, 2024

Reverts #101899
Fixes #102203

Optimization didn't pan out as intended. It helps the cases it was supposed to, but those are rare compared to those it regressed (a little).

@teo-tsirpanis
Copy link
Contributor

Do you mean fixes #102203?

@stephentoub
Copy link
Member Author

Do you mean fixes #102203?

Yes, thanks.

@stephentoub
Copy link
Member Author

@steveharter or @MihaZupan, this is just a revert. Could you review / approve? Thanks!

@stephentoub stephentoub merged commit 02de2df into main Aug 2, 2024
82 of 84 checks passed
@stephentoub stephentoub deleted the revert-101899-regexindexofbounded branch August 2, 2024 11:13
@stephentoub
Copy link
Member Author

thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Perf] Linux/x64: 6 System.Text.RegularExpressions.Tests Regressions
3 participants