Uh oh!
There was an error while loading. Please reload this page.
Rework beautify_doc_string so that it returns a Symbol instead of a String - #80295
Conversation
jyn514
commented
Dec 22, 2020
This comment has been minimized.
This comment has been minimized.
0132b49 to
2de6bc6CompareUh oh!
There was an error while loading. Please reload this page.
2de6bc6 to
a8ca845CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
a8ca845 to
64afdedComparejyn514
commented
Dec 22, 2020
@bors try @rust-timer queue |
rust-timer
commented
Dec 22, 2020
Awaiting bors try build completion. |
bors
commented
Dec 22, 2020
⌛ Trying commit 64afded with merge bfedb49624a98ca1cdf9865df9704c425f540444... |
bors
commented
Dec 22, 2020
☀️ Try build successful - checks-actions |
rust-timer
commented
Dec 22, 2020
Queued bfedb49624a98ca1cdf9865df9704c425f540444 with parent 75e1acb, future comparison URL. @rustbot label: +S-waiting-on-perf |
rust-timer
commented
Dec 22, 2020
Finished benchmarking try commit (bfedb49624a98ca1cdf9865df9704c425f540444): comparison url. Benchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. Please note that if the perf results are neutral, you should likely undo the rollup=never given below by specifying Importantly, though, if the results of this run are non-neutral do not roll this PR up -- it will mask other regressions or improvements in the roll up. @bors rollup=never |
jyn514
commented
Dec 22, 2020
Perf look like noise, probably any improvements here are being lost because we immediately call to_string(). I think this would be worthwhile as part of #80261 though. |
GuillaumeGomez
commented
Dec 22, 2020
Just like I said. As is, it's pretty useless unfortunately. So I suggest to merge this so I can integrate it into #80261. |
GuillaumeGomez
commented
Dec 22, 2020
We need someone from the compiler team. Ping @oli-obk :) |
GuillaumeGomez
commented
Dec 23, 2020
Oh and ping @petrochenkov too. :) |
petrochenkov
commented
Dec 23, 2020
So, the goal is to not just return a |
GuillaumeGomez
commented
Dec 23, 2020
GuillaumeGomez
commented
Dec 23, 2020
Done! Anything that needs to be updated here @petrochenkov (is the new description enough too?)? |
GuillaumeGomez
commented
Dec 24, 2020
Ok, let's move on then! @bors: r=petrochenkov |
bors
commented
Dec 24, 2020
📌 Commit 64afded has been approved by |
bors
commented
Dec 24, 2020
bors
commented
Dec 24, 2020
☀️ Test successful - checks-actions |
This commit comes from #80261, the goal here is to inspect the impact on performance of this change on its own.
The idea of rewriting
beautify_doc_stringis to not go throughStringif we don't need to update the doc comment to be able to keep the originalSymboland also to have better performance.r? @jyn514