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

Optimisation: identify fully-applied calls to built-in functions #55

Open
mbg opened this issue Jan 24, 2022 · 0 comments
Open

Optimisation: identify fully-applied calls to built-in functions #55

mbg opened this issue Jan 24, 2022 · 0 comments
Labels
code-generation Code generator related delight Nice to haves!

Comments

@mbg
Copy link
Contributor

mbg commented Jan 24, 2022

Function applications are pretty expensive right now: nested applications always result in a lot of continuation closures and curried functions are also not cheap. An easy optimisation would be to identify built-in functions that are fully applied. Since we know how many arguments they take, we can optimise away all the unnecessary overheads.

@mbg mbg added the code-generation Code generator related label Jan 24, 2022
@kk-hainq kk-hainq added the delight Nice to haves! label May 9, 2022
@mbg mbg removed their assignment Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code-generation Code generator related delight Nice to haves!
Projects
None yet
Development

No branches or pull requests

2 participants