-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Simplify hashfull() #5651
Simplify hashfull() #5651
Conversation
clang-format 18 needs to be run on this PR. (execution 11805141837 / attempt 1) |
@Disservin Is there something this needs since it wasn't merged with the recent batch of patches? |
i'd prefer to leave this unchanged for better consistency with previous versions unless there is a real performance hit |
@Disservin Are you referring to the constant 1000 to 500 change or the code changes? The reason I'm confused about your consistency comment with previous versions is because the the current master version of hashfull() was only recently written in PR #5354 just to get something working for benchmark. It actually clumsily duplicates the existing functionality of TTEntry::relative_age() (which was nicely written by you in https://github.com/official-stockfish/Stockfish/pull/5061/files) instead of using it. Prior to #5354 hashfull() looked like (click link below) Line 196 in aff1f67
|
the usage of the appropiate functions is good, I just mean the 500 |
Ok the 500 is now reverted. |
No functional change bench: 1281912
STC https://tests.stockfishchess.org/tests/view/6719696086d5ee47d953cce6
LLR: 2.96 (-2.94,2.94) <-1.75,0.25>
Total: 79200 W: 20537 L: 20366 D: 38297
Ptnml(0-2): 267, 8736, 21387, 8979, 231
No functional change
bench: 1283457