-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Speedup OppositBishop calculations #2592
Conversation
Bench 4952322
It depends on the appreciation of the maintainer. Quoting from https://github.com/glinscott/fishtest/wiki/Creating-my-first-test#non-functional-changes :
|
I think that there is some differences between a normal patch and a speedup:
|
Regarding this patch, this point is what I'm most curious about (in particular, the new member in
|
I don't think that this code changes are ugly. |
This change increases the size of a Position object, so anyone whose computer has a finite amount of memory might care. EDIT: I am mistaken; there is one object per thread so size of the object is less relevant. |
There is only one position per thread |
This failed LTC testing : https://tests.stockfishchess.org/tests/view/5e74e4e6e42a5c3b3ca2e819 |
I'll close this after the discussion in issue #2593 |
Save opposite bishops boolean in state info. Opposite bishops are called only if there is a bishop capture or a bishop promotion.
STC
http://tests.stockfishchess.org/tests/view/5e748183e42a5c3b3ca2e7de
LLR: 2.94 (-2.94,2.94) {-0.50,1.50}
Total: 88574 W: 17268 L: 16964 D: 54342
Ptnml(0-2): 1308, 9884, 21658, 10070, 1367
Bench 4952322