-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Revert change in StringBuilder.Append(char) #74885
Conversation
The change has a bad interaction with inlining heuristics. Fixes dotnet#74158. Partial revert of dotnet#67448.
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch |
I assume this does in fact cause the method to be inlined again? |
Yes, in specific situations depending on the callsite, like in the BigInteger.Parse where it showed up on the radar in our perf runs. A separate question is why BigInteger parsing uses StringBuilder to copy the parsed number around. It sounds like an opportunity for improvement. |
/backport to release/7.0 |
Started backporting to release/7.0: https://github.com/dotnet/runtime/actions/runs/2967991509 |
Regressions:
Improvements Possibly stale PGO? @DrewScoggins can you check when we have had recent updates? |
Last update was from August 20th. We have been having failures linked from the new installer that we are trying to take that I am investigating now. |
The change has a bad interaction with inlining heuristics.
Fixes #74158. Partial revert of #67448.