Skip to content

Performance (dfs) - #91

Open
si-23 wants to merge 2 commits into
mainfrom
performance
Open

si-23 wants to merge 2 commits into
mainfrom
performance

Conversation

@si-23

@si-23 si-23 commented Oct 23, 2026

Copy link
Copy Markdown
Owner

No description provided.

@si-23
si-23 requested a review from Synss October 23, 2026 07:49
si-23 added 2 commits October 23, 2026 10:50
find_cycle from a module that reaches no cycle walks everything below
it in vain. Mark the modules that reach a cyclic strongly connected
component once and start the search only from them; the cycles found
stay the same. On a project with 7000 modules the run drops from 56s
to 17s.
Imports are statements, so expressions can never contain one. Visit
only the statements, exception handlers and match cases of each node
instead of the whole syntax tree.

This branch has not been deployed

No deployments
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