Skip to content

Conversation

@MihaZupan
Copy link
Member

Same idea (and therefore similar numbers) as dotnet/aspnetcore#49117.

While I was touching the code, I also added support for using a stackalloced buffer with ValueStringBuilder now that we're targeting TFMs that can always use SkipLocalsInit.

Also removed the if (count == value.Length && !requiresEscaping) path that's unreachable in our case (it's reachable in PathString because there we detect percent-encoded sequences and avoid re-encoding them).

@MihaZupan MihaZupan added this to the YARP 2.x milestone Oct 3, 2023
@MihaZupan MihaZupan self-assigned this Oct 3, 2023
@MihaZupan MihaZupan requested a review from Tratcher as a code owner October 3, 2023 00:10
@MihaZupan MihaZupan merged commit 26fc382 into dotnet:main Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants