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

Inline non-recursive functions which are called only once #3198

Open
lukaszcz opened this issue Nov 29, 2024 · 0 comments · May be fixed by #3204
Open

Inline non-recursive functions which are called only once #3198

lukaszcz opened this issue Nov 29, 2024 · 0 comments · May be fixed by #3204
Assignees
Milestone

Comments

@lukaszcz
Copy link
Collaborator

lukaszcz commented Nov 29, 2024

It happens often when we use all, for, etc. with a lambda to create a loop, that the lambda gets lifted-out and not inlined if it's too big. There is no benefit in not having it inlined when there is only one call site.

@lukaszcz lukaszcz added this to the 0.6.10 milestone Nov 29, 2024
@lukaszcz lukaszcz self-assigned this Nov 29, 2024
@lukaszcz lukaszcz changed the title Inline functions which occur only once Inline functions which are called only once Nov 29, 2024
@lukaszcz lukaszcz changed the title Inline functions which are called only once Inline non-recursive functions which are called only once Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant