Commit 2c53648
committed
refactor: adjust IgnoreAccents handling logic in StringMatcher
Refined the logic to ensure Normalize is only invoked when IgnoreAccents is enabled, avoiding unnecessary calls and potential performance impact.1 parent 54a458d commit 2c53648
1 file changed
Lines changed: 13 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
| 89 | + | |
| 90 | + | |
91 | 91 | | |
92 | | - | |
93 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
94 | 103 | | |
95 | | - | |
96 | | - | |
97 | 104 | | |
98 | 105 | | |
99 | 106 | | |
| |||
0 commit comments