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

Remove recursive evaluation #14

Open
Specy opened this issue Oct 26, 2024 · 2 comments
Open

Remove recursive evaluation #14

Specy opened this issue Oct 26, 2024 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Specy
Copy link
Owner

Specy commented Oct 26, 2024

Many many places use recursion to solve the expressions, which is not the best in the case of unrolling a sum. Try to either use a dynamic alloc stack or remove the recursion Altogether

@Specy Specy added enhancement New feature or request help wanted Extra attention is needed labels Oct 26, 2024
@Specy
Copy link
Owner Author

Specy commented Nov 3, 2024

Or... alternatively for now:
https://github.com/rust-lang/stacker

@Specy
Copy link
Owner Author

Specy commented Nov 9, 2024

Or... alternatively for now: https://github.com/rust-lang/stacker

this works but, there needs to find a way to drop the PreExp and Exp iteratively instead of recursively as it stack overflows on drop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant