Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix algorithmic complexity of cycle detection
The circular dependency detection in `precompile` has poor algorithmic complexity. In a project with deep and broad dependency trees of hundreds of packages, this introduces a significant delay before the start of precompilation work. Fix that by switching the cycle detection to a simple open-coded DFS walk.
- Loading branch information