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

auto memoize all pure functions #72

Closed
ldemailly opened this issue Jul 28, 2024 · 1 comment · Fixed by #86
Closed

auto memoize all pure functions #72

ldemailly opened this issue Jul 28, 2024 · 1 comment · Fixed by #86

Comments

@ldemailly
Copy link
Member

which is... unless we change in #47 so far all functions (outside of print, log probably can be ignored)

@ldemailly
Copy link
Member Author

we handle print by capturing and saving the output - we exclude log() even in "EvalString" (wasm/discord) mode
so log will show real execution while print will work like expected if there was no memoization

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 a pull request may close this issue.

1 participant