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

Apply multiple specialisation to cases of (partially) known values of arguments #466

Open
pschachte opened this issue Aug 14, 2024 · 0 comments
Labels
enhancement New feature or request performance Issues related to performance of generated code research project

Comments

@pschachte
Copy link
Owner

This can significantly help higher order procedures where the HO argument is statically known, by generating a first order procedure. For example, a call map(+(1), ...) would cause the compiler to generate a specialised procedure that increments each element of a list, and would call this instead. The generated code would then approach what a C programmer would write to add 1 to each element of a list.

@pschachte pschachte added enhancement New feature or request research project performance Issues related to performance of generated code labels Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request performance Issues related to performance of generated code research project
Projects
None yet
Development

No branches or pull requests

1 participant