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 SearchValues throughout dotnet/aspnetcore #46484

Closed
10 tasks done
MihaZupan opened this issue Feb 6, 2023 · 9 comments · Fixed by #54878 or #55039
Closed
10 tasks done

Use SearchValues throughout dotnet/aspnetcore #46484

MihaZupan opened this issue Feb 6, 2023 · 9 comments · Fixed by #54878 or #55039
Assignees
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions help wanted Up for grabs. We would accept a PR to help resolve this issue Perf

Comments

@MihaZupan
Copy link
Member

MihaZupan commented Feb 6, 2023

Akin to dotnet/runtime#78204

Some uses have already been replaced in #45300, but there are more cases where using IndexOfAnyValues can speed things up or simplify the implementation. From a few grep searches:

@adityamandaleeka
Copy link
Member

Some of this was done. Moving to preview 4 to continue chipping away.

@ghost
Copy link

ghost commented Jun 28, 2023

Thanks for contacting us.

We're moving this issue to the .NET 8 Planning milestone for future evaluation / consideration. We would like to keep this around to collect more feedback, which can help us with prioritizing this work. We will re-evaluate this issue, during our next planning meeting(s).
If we later determine, that the issue has no community involvement, or it's very rare and low-impact issue, we will close it - so that the team can focus on more important and high impact issues.
To learn more about what to expect next and how this issue will be handled you can read more about our triage process here.

@gfoidl
Copy link
Member

gfoidl commented Jun 30, 2023

Nit: should the title of this issue be updated to use SearchValues (as IndexOfAnyValues got renamed)?

@MihaZupan MihaZupan changed the title Use new IndexOfAnyValues throughout dotnet/aspnetcore Use SearchValues throughout dotnet/aspnetcore Jun 30, 2023
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Aug 24, 2023
@madhub
Copy link

madhub commented Oct 18, 2023

Should SearchValues also be used in MultipartReaderStream to find the boundary in the multipart parser

@dotnet-policy-service dotnet-policy-service bot added the pending-ci-rerun When assigned to a PR indicates that the CI checks should be rerun label Feb 6, 2024
@wtgodbe wtgodbe removed the pending-ci-rerun When assigned to a PR indicates that the CI checks should be rerun label Feb 6, 2024
@dotnet-policy-service dotnet-policy-service bot added the pending-ci-rerun When assigned to a PR indicates that the CI checks should be rerun label Feb 6, 2024
@wtgodbe wtgodbe removed the pending-ci-rerun When assigned to a PR indicates that the CI checks should be rerun label Feb 13, 2024
@dotnet dotnet deleted a comment from dotnet-policy-service bot Feb 13, 2024
@dotnet dotnet deleted a comment from dotnet-policy-service bot Feb 13, 2024
@adityamandaleeka adityamandaleeka added the help wanted Up for grabs. We would accept a PR to help resolve this issue label Feb 16, 2024
@dotnet dotnet deleted a comment from dotnet-policy-service bot Feb 16, 2024
@ladeak
Copy link
Contributor

ladeak commented Mar 21, 2024

I'd be interested in picking up a few items in the coming weeks.

@ladeak
Copy link
Contributor

ladeak commented Apr 6, 2024

I think with the last PR everything outlined above is covered., hence the lát PR closed this issue.

@amcasey
Copy link
Member

amcasey commented Apr 8, 2024

I think with the last PR everything outlined above is covered., hence the lát PR closed this issue.

Works for me. Any remaining concerns @MihaZupan?

@MihaZupan
Copy link
Member Author

private static string Encode5987(StringSegment input)
(see similar code in dotnet/runtime) looks like the only remaining place from my initial list, but I don't think we need to keep the issue open for that.

Thank you for the help @ladeak

@ladeak
Copy link
Contributor

ladeak commented Apr 8, 2024

Ah, I missed that. I will do the final PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions help wanted Up for grabs. We would accept a PR to help resolve this issue Perf
Projects
None yet
9 participants