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 new IndexOfAnyValues throughout dotnet/runtime #78204

Closed
stephentoub opened this issue Nov 11, 2022 · 3 comments · Fixed by #85190
Closed

Use new IndexOfAnyValues throughout dotnet/runtime #78204

stephentoub opened this issue Nov 11, 2022 · 3 comments · Fixed by #85190
Assignees
Milestone

Comments

@stephentoub
Copy link
Member

stephentoub commented Nov 11, 2022

Once #78093 is merged, we'll want to use it in a variety of places where it'll provide benefits.

Some example possible use sites:


Already updated:

@stephentoub stephentoub added this to the 8.0.0 milestone Nov 11, 2022
@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@ghost
Copy link

ghost commented Nov 11, 2022

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

Issue Details

Once #78093 is merged, we'll want to use it in a variety of places where it'll provide benefits.

Some example possible use sites:

Author: stephentoub
Assignees: -
Labels:

area-System.Memory

Milestone: 8.0.0

@adamsitnik
Copy link
Member

@MihaZupan I can see that you have merged plenty of PRs related to this issue. Is it done now?

@MihaZupan
Copy link
Member

MihaZupan commented Dec 17, 2022

My queries for interesting patterns that could be replaced are starting to dry up.
There's still a handful of places that can be updated, after that, I'll close this issue.

Still on my TODO to look at:

https://github.com/dotnet/runtime/blob/main/src/libraries/Microsoft.Extensions.FileProviders.Physical/src/Internal/PathUtils.cs
https://github.com/dotnet/runtime/blob/main/src/libraries/System.Private.DataContractSerialization/src/System/Xml/XmlUTF8TextWriter.cs
https://github.com/dotnet/runtime/blob/main/src/libraries/System.Data.Common/src/System/Data/Filter/ExpressionParser.cs

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

Successfully merging a pull request may close this issue.

3 participants