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

Defer node reconstruction more when cached children can be used #11

Open
mattbierner opened this issue Apr 16, 2014 · 1 comment
Open

Comments

@mattbierner
Copy link
Owner

down edit up down

Reconstructs the parent node even though we only need the child list of the node. This info is already in the focus even without a fresh node object. Only when a node is extracted or we move off that node must is be really reconstructed.

@mattbierner
Copy link
Owner Author

Although down edit up down seems like a stupid thing to do, the Khepri-compiler actually ends up doing this a lot because of how it expresses visiting child nodes in the composition of high level ops. Expressing the same ops to perform better result in less natural code.

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