clashing_extern_declarations: Use symbol interning to avoid string alloc. - #81453
Conversation
|
Can I get a perf run on this? I'd like to verify that it actually makes an improvement. |
|
@bors try @rust-timer queue |
|
Awaiting bors try build completion. |
|
⌛ Trying commit a1a7830 with merge e3e1e319c02abff43ec05f93be37b599825a5fd3... |
|
☀️ Try build successful - checks-actions |
|
Queued e3e1e319c02abff43ec05f93be37b599825a5fd3 with parent a2f8f62, future comparison URL. @rustbot label: +S-waiting-on-perf |
|
Finished benchmarking try commit (e3e1e319c02abff43ec05f93be37b599825a5fd3): 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 |
|
Doesn't look like this resolved the regression entirely, but there are minor improvements and Symbol > String here regardless @bors r+ |
|
📌 Commit a1a7830 has been approved by |
|
⌛ Testing commit a1a7830 with merge e7e07600fa1ea5bdcee187e76f235cc358b8d32f... |
|
A job failed! Check out the build log: (web) (plain) Click to see the possible cause of the failure (guessed by this bot) |
|
💔 Test failed - checks-actions |
|
@bors retry |
|
⌛ Testing commit a1a7830 with merge af5ad5e80928993b4196092db8a311091c3617cf... |
|
☀️ Test successful - checks-actions |
Use symbol interning as a hack to avoid allocating a string for every symbol name we store in the seen set. This hopefully addresses the minor perf regression described in #80009 (comment).
r? @nagisa