Skip to content

Better branch likelyness on stable#209

Merged
bors merged 2 commits into
rust-lang:masterfrom
a1phyr:stable_likely
Nov 2, 2020
Merged

Better branch likelyness on stable#209
bors merged 2 commits into
rust-lang:masterfrom
a1phyr:stable_likely

Conversation

@a1phyr

@a1phyr a1phyr commented Oct 30, 2020

Copy link
Copy Markdown
Contributor

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
Comment thread src/raw/mod.rs
@Amanieu

Amanieu commented Nov 2, 2020

Copy link
Copy Markdown
Member

@bors r+

@bors

bors commented Nov 2, 2020

Copy link
Copy Markdown
Contributor

📌 Commit bbda6e0 has been approved by Amanieu

@bors

bors commented Nov 2, 2020

Copy link
Copy Markdown
Contributor

⌛ Testing commit bbda6e0 with merge a301ff0...

@bors

bors commented Nov 2, 2020

Copy link
Copy Markdown
Contributor

☀️ 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