-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
make super_relate_consts
use trait objects
#78288
Conversation
r? @oli-obk (rust_highfive has picked a reviewer for you, use r? to override) |
@bors try @rust-timer queue |
Awaiting bors try build completion |
350d7f4
to
6ee91e2
Compare
@bors try |
⌛ Trying commit 1a28bb0 with merge 49d7eb9f08603d5d5d3a7f1e34de7ab706096d3c... |
☀️ Try build successful - checks-actions |
Queued 49d7eb9f08603d5d5d3a7f1e34de7ab706096d3c with parent 7bade6e, future comparison URL. |
Finished benchmarking try commit (49d7eb9f08603d5d5d3a7f1e34de7ab706096d3c): 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 |
Perf is basically neutral and this just increases complexity. I'm not sure the tradeoff is worth it. |
It looks like a small improvement to me, but as @jackh726 mentioned it does worsen the experience of working on it in the future so I am going ahead and close this for now |
super_relate_consts
generates quite a lot of llvm-ir considering that it is still fairly rarely used, so let's try using trait objects for that.