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.