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

Retire piecelists #175

Merged
merged 4 commits into from
Feb 12, 2020
Merged

Retire piecelists #175

merged 4 commits into from
Feb 12, 2020

Conversation

TerjeKir
Copy link
Owner

The piecelist is an old relic inherited from VICE. Now with a full bitboard representation they add nothing in terms of functionality. In Stockfish they supposedly improve move ordering slightly, preventing their removal, but in Weiss they are not used for anything the bitboards can't do identically. Using them for movegen like in SF resulted in a regression, so there is no reason to keep them around.

Retires the piecelists, and refactors the code that relied on them. This results in a speedup.

No functional change.

ELO | 6.05 +- 4.62 (95%)
SPRT | 10.0+0.1s Threads=1 Hash=32MB
LLR | 2.99 (-2.94, 2.94) [0.00, 5.00]
Games | N: 13148 W: 4097 L: 3868 D: 5183
http://chess.grantnet.us/viewTest/4624/

Tests with no piecelists, but also no check material draw also showed a (smaller) gain:
STC: http://chess.grantnet.us/viewTest/4612/
LTC: http://chess.grantnet.us/viewTest/4615/

@TerjeKir TerjeKir merged commit 7e56119 into master Feb 12, 2020
@TerjeKir TerjeKir deleted the NoPLCheckMatDraw branch February 12, 2020 16:00
@TerjeKir TerjeKir mentioned this pull request Apr 4, 2020
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.

None yet

1 participant