Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⚡ Flatten capture history #870

Merged
merged 3 commits into from
Sep 4, 2024
Merged

⚡ Flatten capture history #870

merged 3 commits into from
Sep 4, 2024

Conversation

eduherminio
Copy link
Member

@eduherminio eduherminio commented Jul 25, 2024

Replace capture history triple jagged array ([][][]) with a single dimensional one + a method to calculate the right index.

Test  | perf/capture-history-index
Elo   | 0.83 +- 1.40 (95%)
SPRT  | 8.0+0.08s Threads=1 Hash=32MB
LLR   | -0.90 (-2.25, 2.89) [0.00, 3.00]
Games | 116234: +36471 -36192 =43571
Penta | [3932, 12718, 24586, 12901, 3980]
https://openbench.lynx-chess.com/test/467/
 python .\sprt.py -w 36471 -l 36192 -d 43571 -e0 -3 -e1 1
ELO: 0.834 +- 1.58 [-0.743, 2.41]
LLR: 8.97 [-3.0, 1.0] (-2.94, 2.94)
H1 Accepted

@eduherminio eduherminio marked this pull request as ready for review September 4, 2024 16:39
@eduherminio eduherminio enabled auto-merge (squash) September 4, 2024 16:39
@eduherminio eduherminio merged commit 600c6bd into main Sep 4, 2024
27 checks passed
@eduherminio eduherminio deleted the perf/capture-history-index branch September 4, 2024 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant