-
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
Use arrays #2785
Use arrays #2785
Conversation
Two small remarks: • SafeCheck could use {} for the padding zeros at the beginning of the array:
• Reading the comments in the checking part of king danger analysis, I noticed that the comments are bad. They use "we" in the same sentence with two different meanings (one of them wrong), and anyway "we" is confusing because of the template parameter "Us". Better to remove all occurence of "we", as follows:
|
Can't wait for it t get merged, so I can start to test some tuning |
@FauziAkram I want to merge this together with the first functional change, so that not all devs have to update their branches for a non-functional change. However, if you want to tune this you can easily get this in your own branch, just do something like:
and you'll be having a new branch with the name |
Thanks! |
for safe checks, outposts and king protectors in evaluate.cpp Tested for non regression on the safe checks https://tests.stockfishchess.org/tests/view/5ef8b75c020eec13834a9596 LLR: 2.95 (-2.94,2.94) {-1.50,0.50} Total: 22256 W: 4283 L: 4143 D: 13830 Ptnml(0-2): 291, 2439, 5588, 2459, 351 Tested for non regression on the safe checks, outposts and king protectors https://tests.stockfishchess.org/tests/view/5ef8e543020eec13834a95e7 LLR: 2.95 (-2.94,2.94) {-1.50,0.50} Total: 28400 W: 5382 L: 5253 D: 17765 Ptnml(0-2): 394, 3078, 7119, 3223, 386 closes official-stockfish#2785 No functional change
Non functional change, use array for safe checks, outposts and king protectors
in evaluate.cpp
Tested for non regression on the safe checks
https://tests.stockfishchess.org/tests/view/5ef8b75c020eec13834a9596
LLR: 2.95 (-2.94,2.94) {-1.50,0.50}
Total: 22256 W: 4283 L: 4143 D: 13830
Ptnml(0-2): 291, 2439, 5588, 2459, 351
Tested for non regression on the safe checks, outposts and king protectors
https://tests.stockfishchess.org/tests/view/5ef8e543020eec13834a95e7
LLR: 2.95 (-2.94,2.94) {-1.50,0.50}
Total: 28400 W: 5382 L: 5253 D: 17765
Ptnml(0-2): 394, 3078, 7119, 3223, 386
updated with latest master
bench: 4523573