Skip to content

Commit adb3c48

Browse files
committed
perf(model): Avoid superfluous filtering of edges to keep
Just return the known list of edges. Signed-off-by: Sebastian Schuberth <[email protected]>
1 parent 05a18ce commit adb3c48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

model/src/main/kotlin/utils/DependencyGraphBuilder.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ class DependencyGraphBuilder<D>(
200200
}
201201
}
202202

203-
return filterTo(mutableSetOf()) { it in edgesToKeep }
203+
return edgesToKeep
204204
}
205205

206206
private fun checkReferences() {

0 commit comments

Comments
 (0)