Skip to content
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

Better branch likelyness on stable #209

Merged
merged 2 commits into from
Nov 2, 2020
Merged

Conversation

a1phyr
Copy link
Contributor

@a1phyr a1phyr commented Oct 30, 2020

It uses uses the #[cold] attribute to get a similar effect as core::intrinsics::{likely, unlikely} on stable (10-15% on some benchmarks)

It uses uses the `#[cold]` attribute to get a similar effect
src/raw/mod.rs Show resolved Hide resolved
@Amanieu
Copy link
Member

Amanieu commented Nov 2, 2020

@bors r+

@bors
Copy link
Contributor

bors commented Nov 2, 2020

📌 Commit bbda6e0 has been approved by Amanieu

@bors
Copy link
Contributor

bors commented Nov 2, 2020

⌛ Testing commit bbda6e0 with merge a301ff0...

@bors
Copy link
Contributor

bors commented Nov 2, 2020

☀️ Test successful - checks-travis
Approved by: Amanieu
Pushing a301ff0 to master...

@bors bors merged commit a301ff0 into rust-lang:master Nov 2, 2020
This was referenced Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants