Closed erikjohnston closed 11 months ago
Recalculating the roots tuple every iteration could be very expensive, so instead let's do a topological sort.
(Note that sorted_topologically_batched is basically a slightly modified sorted_topologically, and the tests are more or less a copy and paste)
sorted_topologically_batched
sorted_topologically
Recalculating the roots tuple every iteration could be very expensive, so instead let's do a topological sort.
(Note that
sorted_topologically_batched
is basically a slightly modifiedsorted_topologically
, and the tests are more or less a copy and paste)