Commit 7434cd7
committed
Avoid redundant compilation of archive name regex
Previously, the compilation of the regular expression used to convert the library name to the release archive root folder
and file name was done inside the function, which caused it to be compiled redundantly for every subsequent call. Moving
it to the package scope improves the function's efficiency.1 parent d0f3044 commit 7434cd7
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
| 98 | + | |
97 | 99 | | |
98 | 100 | | |
99 | | - | |
100 | | - | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
| |||
0 commit comments