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

feat: shrink the tt entry object size #32

Merged
merged 6 commits into from
Dec 2, 2024

Conversation

DeveloperPaul123
Copy link
Owner

Changes

  • Switch from using i64 to i16 for Score.
  • Due to above, shrink TranspositionTableEntry to 16 bits
  • Fixed overflow issues when calculating score due to Score change
  • Added a very basic TranspositionTable unit test. Will be expounded on if we ever implement tt buckets.
  • Altered TranspositionTableEntry::new to take the zobrist hash in directly.
Elo   | 5.28 +- 4.25 (95%)
SPRT  | 8.0+0.08s Threads=1 Hash=1MB
LLR   | 2.97 (-2.94, 2.94) [0.00, 10.00]
Games | N: 7372 W: 1557 L: 1445 D: 4370
Penta | [84, 648, 2128, 724, 102]
https://developerpaul123.pythonanywhere.com/test/54/

@DeveloperPaul123 DeveloperPaul123 merged commit 29de4cd into main Dec 2, 2024
3 checks passed
@DeveloperPaul123 DeveloperPaul123 deleted the feature/efficient-tt-entry branch December 2, 2024 21:32
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