Skip to content

Inline non-nightly lowest_set_bit_nonzero #64

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

Merged
merged 1 commit into from
Apr 16, 2019

Conversation

cuviper
Copy link
Member

@cuviper cuviper commented Apr 16, 2019

I was surprised to see this tiny function show up in my performance
profile on its own. The nightly version of this function was already
marked #[inline], but the non-nightly version should be inlined too.

I was surprised to see this tiny function show up in my performance
profile on its own. The nightly version of this function was already
marked `#[inline]`, but the non-nightly version should be inlined too.
@Amanieu
Copy link
Member

Amanieu commented Apr 16, 2019

Oops, nice catch!

@Amanieu
Copy link
Member

Amanieu commented Apr 16, 2019

bors r+

bors bot added a commit that referenced this pull request Apr 16, 2019
64: Inline non-nightly lowest_set_bit_nonzero r=Amanieu a=cuviper

I was surprised to see this tiny function show up in my performance
profile on its own. The nightly version of this function was already
marked `#[inline]`, but the non-nightly version should be inlined too.

Co-authored-by: Josh Stone <cuviper@gmail.com>
@bors
Copy link
Contributor

bors bot commented Apr 16, 2019

Build failed

  • continuous-integration/travis-ci/push

@Amanieu
Copy link
Member

Amanieu commented Apr 16, 2019

Needs #65 to land first.

@Amanieu
Copy link
Member

Amanieu commented Apr 16, 2019

bors r+

bors bot added a commit that referenced this pull request Apr 16, 2019
64: Inline non-nightly lowest_set_bit_nonzero r=Amanieu a=cuviper

I was surprised to see this tiny function show up in my performance
profile on its own. The nightly version of this function was already
marked `#[inline]`, but the non-nightly version should be inlined too.

Co-authored-by: Josh Stone <cuviper@gmail.com>
@bors
Copy link
Contributor

bors bot commented Apr 16, 2019

Build succeeded

  • continuous-integration/travis-ci/push

@bors bors bot merged commit 79c5b41 into rust-lang:master Apr 16, 2019
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.

None yet

2 participants