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

Keep recursion info in BindingMap #2000

Merged
merged 1 commit into from
Nov 15, 2021
Merged

Conversation

alex-mckenna
Copy link
Contributor

@alex-mckenna alex-mckenna commented Nov 12, 2021

In GenerateBindings, the recursion information about global bindings
is currently discarded by Clash. However, much like the recursion info
for let bindings, this can be used to make the partial evaluator more
efficient - as non-recursive global bindings can always be inlined
without consuming fuel.

Still TODO:

  • Write a changelog entry (see changelog/README.md)
  • Check copyright notices are up to date in edited files

@alex-mckenna alex-mckenna force-pushed the core-bindings-rec-info branch 2 times, most recently from 68c3c6f to ced4f1f Compare November 15, 2021 12:36
In GenerateBindings, the recursion information about global bindings
is currently discarded by Clash. However, much like the recursion info
for let bindings, this can be used to make the partial evaluator more
efficient - as non-recursive global bindings can always be inlined
without consuming fuel.
@alex-mckenna
Copy link
Contributor Author

Oh no, the machines have gained sentience

@alex-mckenna alex-mckenna merged commit 6f6ba35 into master Nov 15, 2021
@alex-mckenna alex-mckenna deleted the core-bindings-rec-info branch November 15, 2021 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants