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
Inline BuildHasherDefault<DefaultHasher>::build_hasher #96960
Conversation
This method is pretty trivial but doesn't get inlined today.
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
r? @m-ou-se (rust-highfive has picked a reviewer for you, use r? to override) |
@bors try @rust-timer queue |
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
⌛ Trying commit 72fd9b3 with merge 139793680cad215533aa0cc11a97be96bf22020e... |
The job Click to see the possible cause of the failure (guessed by this bot)
|
💔 Test failed - checks-actions |
Seems part of fns has the attribute already on master, could you rebase? |
ping from triage: FYI: when a PR is ready for review, send a message containing |
Looks like this isn't necessary any more |
Today this doesn't get inlined causing
<BuildHasherDefault<DefaultHasher> as BuildHasher>::hash_one
to be more complex than it needs to be (as used inHashMap<K, V, BuildHasherDefault<DefaultHasher>>
), but with inlining it should simplify a decent amount.