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

Make functions from parking_lot_core #[inline] #116

Merged
merged 2 commits into from
Feb 2, 2019
Merged

Make functions from parking_lot_core #[inline] #116

merged 2 commits into from
Feb 2, 2019

Conversation

Amanieu
Copy link
Owner

@Amanieu Amanieu commented Feb 2, 2019

These are only ever called from #[inline(never)] functions, so there shouldn't be too much code duplication from monomorphization.

This API is only used in cold paths, so there is no point avoiding
monomorphization costs.
These are only ever called from #[inline(never)] functions, so there
shouldn't be too much code duplication.
@Amanieu
Copy link
Owner Author

Amanieu commented Feb 2, 2019

bors r+

bors bot added a commit that referenced this pull request Feb 2, 2019
115: Misc improvements r=Amanieu a=Amanieu



116:  Make functions from parking_lot_core #[inline] r=Amanieu a=Amanieu

These are only ever called from #[inline(never)] functions, so there shouldn't be too much code duplication from monomorphization.

Co-authored-by: Amanieu d'Antras <[email protected]>
@bors
Copy link
Contributor

bors bot commented Feb 2, 2019

@bors bors bot merged commit 9df9119 into master Feb 2, 2019
@Amanieu Amanieu deleted the inline_core branch February 2, 2019 20:15
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.

1 participant