-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Remove operators for color #2247
Conversation
This needs some test to check that there is not speed penalty, depending on what code the compiler emits for the alternate form.. |
I tried to use godbolt, but the compiler doesn't seem to recognize the new form. Are you wanting a -3,1 test on the framework, or godbolt code? |
https://godbolt.org/z/XmG1wL |
A -3,1 test in the framework would be fine |
@protonspring |
STC |
Could we retest the PR version in isolation? thanks :-) |
@snicolet I'm not sure what you're asking for. You want a -3,1 test without Rocky's addition? |
The proposed change to CastlingSide in bool function pos_is_ok is harmless. |
@protonspring @Rocky640 |
Merged via aec918a |
@snicolet That was busy day ! |
This is a non-functional and untested simplification. The increment operator for color isn't really necessary and seems a bit unnatural to me. Passed STC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 47027 W: 10589 L: 10518 D: 25920 http://tests.stockfishchess.org/tests/view/5d3472d10ebc5925cf0e8d3e Closes official-stockfish#2247 No functional change
This is a non-functional and untested simplification. The increment operator for color isn't really necessary and seems a bit unnatural to me. Passed STC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 47027 W: 10589 L: 10518 D: 25920 http://tests.stockfishchess.org/tests/view/5d3472d10ebc5925cf0e8d3e Closes official-stockfish#2247 No functional change
This is a non-functional and untested simplification. The increment operator for color isn't really necessary and seems a bit unnatural to me. Passed STC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 47027 W: 10589 L: 10518 D: 25920 http://tests.stockfishchess.org/tests/view/5d3472d10ebc5925cf0e8d3e Closes official-stockfish#2247 No functional change
This is a non-functional and untested simplification. The increment operator for color isn't really necessary and seems a bit unnatural to me. Passed STC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 47027 W: 10589 L: 10518 D: 25920 http://tests.stockfishchess.org/tests/view/5d3472d10ebc5925cf0e8d3e Closes official-stockfish#2247 No functional change
This is a non-functional and untested simplification. The increment operator for color isn't really necessary and seems a bit unnatural to me.