caseyagraff / dagma

A lightweight pipelining tool for computation.
BSD 2-Clause "Simplified" License
1 stars 0 forks source link

Consider new implementation of Fanout/Foreach #17

Open caseyagraff opened 4 years ago

caseyagraff commented 4 years ago

The current implementation seems brittle. Is there a better overall approach? Alternatively, we could try to strengthen the current version.

At a minimum, reduce the use of self._file._load_fn, etc. from foreach and generally, clean-up how sub-nodes are created. Also, clean-up the create_node decorator code for ComputeNode vs ForeachComputeNode.