-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Use TyCtxt::mk_str
instead of interned str
#108008
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
Conversation
Some changes occurred to the CTFE / Miri engine cc @rust-lang/miri Some changes occurred in compiler/rustc_codegen_gcc cc @antoyo |
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit d67ee1dbda8ec8070e5187a31be1b8995721c089 with merge 59b6292dd7a9d8a72135821c944d4b066d386d00... |
(I guess for now we could keep the interned string around and just go through |
d67ee1d
to
86d3b82
Compare
Some changes occurred in src/tools/clippy cc @rust-lang/clippy |
The job Click to see the possible cause of the failure (guessed by this bot)
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
⌛ Trying commit 86d3b82 with merge dbf631402497ca45d479d6f0508d331b9a6494e9... |
☀️ Try build successful - checks-actions |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (dbf631402497ca45d479d6f0508d331b9a6494e9): comparison URL. Overall result: ❌ regressions - no action neededBenchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. @bors rollup=never Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. |
The regression looks real
so we could look into the alternative strategy of pre-allocating the def id in #107939 and thus having an interned |
Split out of #107939. Hopefully the usages of the interned str type aren't so hot that this is a perf regression. Guess we'll see..
r? @oli-obk