Commit 94c5860
Kapil Borle
Reset command info cache only if it is null
Since, helper is a singleton that persists through multiple
pssa invocation, in a given powershell session, this
helps us reuse the commandinfo cache created during
the first pssa invocation. Results in significant perf
improvement for subsequent pssa invocations.1 parent 889c49f commit 94c5860
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
154 | 157 | | |
155 | 158 | | |
156 | 159 | | |
| |||
0 commit comments