Commit 4af7d09
committed
perf(runner): collapse metachar check to single regex in parse_data_provider_args
Merge the leading-metachar and embedded-metachar grep calls at
src/runner.sh:263 into one `(^|[^\])[|&;*]` pattern. Saves one grep
subprocess per parametrized test invocation. Bash 3.0+ compatible.1 parent 2582b33 commit 4af7d09
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
272 | | - | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
273 | 275 | | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
| 276 | + | |
278 | 277 | | |
279 | 278 | | |
280 | 279 | | |
| |||
0 commit comments