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

⚡ Optimize MoveGenerator.GeneratePieceCaptures() #846

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

eduherminio
Copy link
Member

@eduherminio eduherminio commented Jul 5, 2024

Only take into account attacks that land on an opponent piece.

Test  | perf/capture-generation
Elo   | 10.13 +- 6.29 (95%)
SPRT  | 8.0+0.08s Threads=1 Hash=32MB
LLR   | 2.91 (-2.25, 2.89) [-3.00, 1.00]
Games | 5626: +1828 -1664 =2134
Penta | [163, 576, 1210, 662, 202]
https://openbench.lynx-chess.com/test/447/

@eduherminio eduherminio marked this pull request as ready for review July 5, 2024 08:30
@eduherminio eduherminio merged commit a685b20 into main Jul 5, 2024
27 checks passed
@eduherminio eduherminio deleted the perf/capture-generation branch July 5, 2024 08:30
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