Skip to content

Stack closure functions should probably be always inlined #2079

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

Closed
brson opened this issue Mar 30, 2012 · 1 comment
Closed

Stack closure functions should probably be always inlined #2079

brson opened this issue Mar 30, 2012 · 1 comment
Labels
A-codegen Area: Code generation I-slow Issue: Problems and improvements with respect to performance of generated code.

Comments

@brson
Copy link
Contributor

brson commented Mar 30, 2012

I haven't investigated how often they are successfully inlined, but we probably want to impress upon llvm that we would like them to be.

@ghost ghost assigned brson Apr 5, 2012
@brson
Copy link
Contributor Author

brson commented Jun 28, 2012

I tried this and measured a small improvement locally, but the bots weren't impressed, so I decided it didn't matter.

@brson brson closed this as completed Jun 28, 2012
Kobzol pushed a commit to Kobzol/rust that referenced this issue Dec 30, 2024
bors pushed a commit to rust-lang-ci/rust that referenced this issue Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-codegen Area: Code generation I-slow Issue: Problems and improvements with respect to performance of generated code.
Projects
None yet
Development

No branches or pull requests

1 participant