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

Node identity should depend on inputs, not nsspec #8

Open
Zaharid opened this issue Nov 14, 2017 · 0 comments
Open

Node identity should depend on inputs, not nsspec #8

Zaharid opened this issue Nov 14, 2017 · 0 comments

Comments

@Zaharid
Copy link
Contributor

Zaharid commented Nov 14, 2017

Right now two nodes from provider functions are considered equal if their namespace matches. The equality should instead explicitly consider the inouts of the nodes (that by assumption steam from the user's config ultimately). This would avoid duplicating computations that are known to have the same result.

One problem is that (nested) YAML lists and mappings can be used as inputs to the providers, and we would need a way to freeze them to make them hashable.

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