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

Consider memoizing forked continuations #31

Open
mariusae opened this issue Mar 20, 2018 · 0 comments
Open

Consider memoizing forked continuations #31

mariusae opened this issue Mar 20, 2018 · 0 comments

Comments

@mariusae
Copy link
Collaborator

Currently, when a continuation node is forked, it is not canonicalized. This is done mostly due to simplicity, since doing this properly would require us to rewrite pointers to the canonicalized node. This does imply redundant computation, but never happens for expensive computations like exec.

However, we should consider memoizing their results so that continuations are not needlessly recomputed.

See also: #28

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

1 participant