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

Simplify slider_blockers method #4753

Closed

Conversation

pb00068
Copy link
Contributor

@pb00068 pb00068 commented Aug 17, 2023

Now that classical evaluation was removed, we can adopt this method to the needs of set_check_info.

no functional change

pb00067 added 2 commits August 17, 2023 14:31
Now that classical evaluation was removed, we can adopt this method.
Use color as template.

no functional change
bench: 1493904
Now that classical evaluation was removed, we can adopt this method
to the purposes of set_check_info method.

no functional change
bench: 1493904
@pb00068
Copy link
Contributor Author

pb00068 commented Aug 17, 2023

N.B.: a templated version of simplified slider_blockers is being tested here at https://tests.stockfishchess.org/tests/view/64de132587ff9c9f7a9351f6 but I doubts its a good idea to make this templated by color.

Improve comment

no functional change
bench: 1493904
@vondele
Copy link
Member

vondele commented Aug 24, 2023

might be good to test this patch as is on fishtest, to be sure? (just STC is fine)

@Sopel97
Copy link
Member

Sopel97 commented Aug 24, 2023

I suggest renaming it to update_slider_blockers

Now that classical evaluation was removed, we can adopt this method
to the purposes of set_check_info method.

no functional change
bench: 1426295
src/position.cpp Outdated Show resolved Hide resolved
Improve comment

no functional change
@pb00068
Copy link
Contributor Author

pb00068 commented Aug 25, 2023

might be good to test this patch as is on fishtest, to be sure? (just STC is fine)

https://tests.stockfishchess.org/tests/view/64e70b899009777747557b43
2.95 (-2.94,2.94) <-1.75,0.25>
Total: 298176 W: 75802 L: 75868 D: 146506
Ptnml(0-2): 908, 33608, 80192, 33402, 978

@snicolet snicolet added the to be merged Will be merged shortly label Sep 3, 2023
@snicolet snicolet closed this in 1f7ff84 Sep 3, 2023
@snicolet
Copy link
Member

snicolet commented Sep 3, 2023

merged via 1f7ff84, thanks :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-bench-change to be merged Will be merged shortly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants