Uh oh!
There was an error while loading. Please reload this page.
Revert change in StringBuilder.Append(char) - #74885
Conversation
The change has a bad interaction with inlining heuristics. Fixesdotnet#74158. Partial revert of dotnet#67448.
ghost
commented
Aug 31, 2022
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch |
stephentoub
commented
Aug 31, 2022
I assume this does in fact cause the method to be inlined again? |
jkotas
commented
Aug 31, 2022
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. |
jkotas
commented
Sep 1, 2022
jkotas
commented
Sep 1, 2022
/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? |
DrewScoggins
commented
Sep 7, 2022
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.