bmritz / datajet

A Data Dependency Graph Framework and Executor
https://bmritz.github.io/datajet/
MIT License
2 stars 1 forks source link

20 optimize for speed for get dependencies with many paths #21

Closed bmritz closed 2 years ago

bmritz commented 2 years ago

I ended up taking the approach of allowing the user to explicitly define nodes that expect input from context, and then skipping those when creating a dependency path. This solves the immediate issue, but does not really truly increase performance on the _get_dependencies.