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

Improve NonPawnCorrectionHistory indexing #5816

Closed
wants to merge 1 commit into from

Conversation

AndyGrant
Copy link
Contributor

Bench 1632964

LLR: 2.93 (-2.94,2.94) <0.00,2.00>
Total: 75936 W: 19905 L: 19554 D: 36477
Ptnml(0-2): 190, 7863, 21554, 8128, 233
https://tests.stockfishchess.org/tests/view/67904d0cfc8c306ba6cea332

Improves indexing scheme, by noting that both sides are likely to access the same non_pawn_index nearby.
Seemingly passes an SPRT, which is shocking. But its objectively good practice.

Thanks to @xu-shawn for coding it up, after I mentioned it.

bench 1632964

Co-authored-by: Andrew Grant <andrew.github@grantnet.us>
Copy link

clang-format 18 needs to be run on this PR.
If you do not have clang-format installed, the maintainer will run it when merging.
For the exact version please see https://packages.ubuntu.com/noble/clang-format-18.

(execution 12900826317 / attempt 1)

@vondele vondele added 🚀 gainer Gains elo to be merged Will be merged shortly labels Jan 25, 2025
@vondele vondele closed this in 889fed4 Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 gainer Gains elo to be merged Will be merged shortly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants