-
Emden R Gansner authored
Also replace the recursive DFS with an explicit stack to prevent stack overflow. The latter is probably not necessary, as real-life DAGs shouldn't have that many layers.
01a47460
Also replace the recursive DFS with an explicit stack to prevent stack overflow. The latter is probably not necessary, as real-life DAGs shouldn't have that many layers.