Speed up pill

Pill runs 10x faster on my machine after the change
This commit is contained in:
Alexey Tsvetkov
2018-04-22 23:10:06 +03:00
parent 66d738848b
commit 61edfaced5
+1 -1
View File
@@ -367,7 +367,7 @@ fun List<Pair<ResolvedConfiguration, Scope>>.collectDependencies(): List<Depende
existing += data
for (child in info.dependency.children) {
if (child.moduleGroup != "org.jetbrains.kotlin" && Pair(info.scope, child) in existing) {
if (Pair(info.scope, child) in existing) {
continue
}