Closed eduherminio closed 2 weeks ago
Use fixed (int* ptr = &_array[0]) for accessing history arrays in helpers.
fixed (int* ptr = &_array[0])
Test | perf/fixed-trick-pinned Elo | -1.53 +- 2.86 (95%) SPRT | 8.0+0.08s Threads=1 Hash=32MB LLR | -2.26 (-2.25, 2.89) [0.00, 3.00] Games | 23364: +6493 -6596 =10275 Penta | [558, 2665, 5317, 2606, 536] https://openbench.lynx-chess.com/test/679/
Use
fixed (int* ptr = &_array[0])
for accessing history arrays in helpers.