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

Is inline_always really needed? #21

Open
HadrienG2 opened this issue Sep 19, 2019 · 0 comments · May be fixed by #24
Open

Is inline_always really needed? #21

HadrienG2 opened this issue Sep 19, 2019 · 0 comments · May be fixed by #24

Comments

@HadrienG2
Copy link

HadrienG2 commented Sep 19, 2019

Inconsiderate use of inline_always can result in code bloat (which, if taken too far, leads to L1i cache misses) and increased compilation times.

The inlining heuristics of rustc normally aren't too bad, so it might be worthwhile to investigate how many of these annotations can be replaced with plain inline or removed entirely without incurring a significant performance cost.

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 a pull request may close this issue.

1 participant