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

Fold simple named arrays #5

Open
jleben opened this issue Sep 27, 2016 · 1 comment
Open

Fold simple named arrays #5

jleben opened this issue Sep 27, 2016 · 1 comment

Comments

@jleben
Copy link
Owner

jleben commented Sep 27, 2016

If a name refers to a simple array (e.g. one that only copies values from other arrays), replace its references with the array.

This would simplify array reduction as we wouldn't need to be careful with lamda lifting arrays - we could always lift them and this optimization would fold them back if possible.

@jleben jleben changed the title Idea: simplify array reduction Optimization: Fold simple named arrays Nov 6, 2019
@jleben
Copy link
Owner Author

jleben commented Nov 6, 2019

This is now more critical: recent changes result in more arrays lambda lifted, harming the output code.

@jleben jleben changed the title Optimization: Fold simple named arrays Fold simple named arrays Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant