Skip to content

Use SearchValues in HostString #49114

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

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

MihaZupan
Copy link
Member

  • Use SearchValues instead of a loop around IsSafeHostStringChar
  • Avoid allocating new IdnMapping instances every time
  • Avoid some temporary substring allocations

Contributes to #46484

@MihaZupan
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@Tratcher Tratcher merged commit 51c1ada into dotnet:main Jul 6, 2023
@ghost ghost added this to the 8.0-preview7 milestone Jul 6, 2023
@Tratcher
Copy link
Member

Tratcher commented Jul 6, 2023

Thanks

@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Aug 25, 2023
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 Perf
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants