Commit 3d45358
⚡ Bolt: Optimize regex caching in TestFolderPathPattern
Replaced synchronized LRUCache with a lock-free ConcurrentHashMap.
This prevents blocking across threads when multiple test paths evaluate
regular expressions concurrently. Given that workspace configurations
are static, cache evictions are unnecessary, rendering the LRU bound
superfluous.
Co-authored-by: RoiSoleil <3462260+RoiSoleil@users.noreply.github.com>1 parent fca0945 commit 3d45358
1 file changed
Lines changed: 11 additions & 10 deletions
Lines changed: 11 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
25 | 33 | | |
26 | 34 | | |
27 | 35 | | |
| |||
203 | 211 | | |
204 | 212 | | |
205 | 213 | | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
| 214 | + | |
211 | 215 | | |
212 | 216 | | |
213 | 217 | | |
214 | 218 | | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
| 219 | + | |
219 | 220 | | |
220 | 221 | | |
221 | 222 | | |
| |||
0 commit comments