Avoids a quadratic time operation. In practice it is not really felt, cause it has a tiny constant. But maybe in very large DAGs it is.
Avoids a quadratic time operation. In practice it is not really felt, cause it has a tiny constant. But maybe in very large DAGs it is.