Commit f233ca1
Compact position structures
Reorder the structures data members in position.h to reduce padding.
Passed STC:
https://tests.stockfishchess.org/tests/view/60a8011fce8ea25a3ef04069
LLR: 2.94 (-2.94,2.94) <-0.50,2.50>
Total: 14120 W: 1214 L: 1067 D: 11839
Ptnml(0-2): 26, 857, 5161, 976, 40
---
Also tested for speed locally by Joost:
Result of 50 runs
==================
base (./stockfish.master ) = 2254919 +/- 4439
test (./stockfish.patch ) = 2274003 +/- 5278
diff = +19084 +/- 6386
==================
speedup = +0.0085
P(speedup > 0) = 1.0000
---
closes #3488
No functional change.1 parent 754fc8a commit f233ca1
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | 54 | | |
56 | 55 | | |
57 | 56 | | |
58 | 57 | | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| 195 | + | |
| 196 | + | |
195 | 197 | | |
196 | 198 | | |
197 | 199 | | |
198 | | - | |
199 | | - | |
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| |||
0 commit comments