Skip to content

Use isDAG for detecting cycles#22

Merged
rockname merged 1 commit intomainfrom
tweak-cycle-detection
Jan 19, 2025
Merged

Use isDAG for detecting cycles#22
rockname merged 1 commit intomainfrom
tweak-cycle-detection

Conversation

@rockname
Copy link
Owner

@rockname rockname commented Jan 19, 2025

The Graph.detectCycles method is somewhat heavy. Therefore, use Graph.isDAG instead.

@rockname rockname merged commit 2f5b5b8 into main Jan 19, 2025
@rockname rockname deleted the tweak-cycle-detection branch January 19, 2025 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant