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

ground could be compiled to (lambda _ (values)), which might be more efficient #137

Open
benknoble opened this issue Dec 18, 2023 · 1 comment

Comments

@benknoble
Copy link
Collaborator

The compiler branch currently compiles through a number of other forms and ends up with (lambda args (apply values (append))), which seems like it might be inefficient (really we'd need to see how the CS compiler handled that).

@countvajhula
Copy link
Collaborator

I tried this in compiler explorer (courtesy of @jryans), and doesn't look like CS optimizes it (looking at cp0).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants