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

[WIP] Basic loops #840

Closed
wants to merge 1 commit into from
Closed

Conversation

simendsjo
Copy link
Contributor

Not sure how we should implement basic loops in an efficient way. This implementation requires tail-recursion, which was only available when optimizing for speed on my machine. And I guess the lambdas condition and body won't be inlined which causes unnecessary function call overhead.

This PR is only to trigger discussion as it's easily buried a bit in Discord. Ref https://discord.com/channels/888196168067199046/888196168067199049/1084182802104340590

@eliaslfox
Copy link
Collaborator

Moved to #847. I'm in favor of something like this, but I want to have a more holistic design before settling on an implementation.

@eliaslfox eliaslfox closed this Mar 22, 2023
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

Successfully merging this pull request may close these issues.

2 participants