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

Use ReadOnlySpan<char> on RegexCompiled engine. #62245

Merged
merged 2 commits into from
Dec 2, 2021

Conversation

joperezr
Copy link
Member

@joperezr joperezr commented Dec 1, 2021

Contributes to #59629

Related: #59629 and #62222

Using ReadOnlySpans on FindFirstChar for RegexCompiled engine

cc: @stephentoub @danmoseley

@ghost
Copy link

ghost commented Dec 1, 2021

Tagging subscribers to this area: @dotnet/area-system-text-regularexpressions
See info in area-owners.md if you want to be subscribed.

Issue Details

Contributes to #59629

Related: #59629 and #62222

Using ReadOnlySpans on FindFirstChar for RegexCompiled engine

cc: @stephentoub @danmoseley

Author: joperezr
Assignees: -
Labels:

area-System.Text.RegularExpressions

Milestone: -

@danmoseley
Copy link
Member

Stephen should probably review, but should _runtextLocal / runtextLocal become a span also?

@stephentoub
Copy link
Member

Stephen should probably review, but should _runtextLocal / runtextLocal become a span also?

_runtextLocal should go away once Go is updated as well, but it's used there as a string and so can't be removed / changed until Go is addressed.

@stephentoub stephentoub merged commit 252b7c2 into dotnet:main Dec 2, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jan 1, 2022
@joperezr joperezr deleted the RegexCompiledSpans branch April 6, 2022 16:59
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.

3 participants