Commit d2d042d
Optimize ToArrayOfIntegersResolver by using inline cast
Eliminated the castValueToInt() method and use (int) cast directly
in an inline closure to avoid function call overhead in array_map.
Co-authored-by: samdark <47294+samdark@users.noreply.github.com>1 parent 8980060 commit d2d042d
1 file changed
Lines changed: 2 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | 38 | | |
0 commit comments