Commit 65d6eb1
committed
perf(analyzer): Avoid unnecessary graph reconstruction
Previously, in any case where multiple package managers were found the
dependency graphs were reconstructed in the process to replace package
manager dependencies. This even happened when no package manager
dependencies were present. Avoid this expensive operation if possible by
exiting early if no package manager dependencies are present.
Signed-off-by: Sebastian Schuberth <[email protected]>1 parent 2448370 commit 65d6eb1
1 file changed
+13
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
120 | | - | |
121 | 119 | | |
122 | 120 | | |
123 | 121 | | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
124 | 135 | | |
125 | 136 | | |
126 | 137 | | |
| |||
0 commit comments