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

Does clearing hash after every move reduce engine strength? #71

Closed
yjf2002ghty opened this issue Apr 16, 2024 · 2 comments
Closed

Does clearing hash after every move reduce engine strength? #71

yjf2002ghty opened this issue Apr 16, 2024 · 2 comments

Comments

@yjf2002ghty
Copy link
Contributor

I am reviewing the code written before and noticed that currently the UI sends a clear hash command to in browser fairy-stockfish after every move. Does this reduce engine strength? If yes, I'll create a pull request to fix this.

This does not affect binary engines.

@ianfab
Copy link
Owner

ianfab commented Apr 16, 2024

Yes, it does. Clearing hash should happen when hash entries become irrelevant, e.g., when changing the variant or setting up a completely new position, but after merely making a move hash will still be highly relevant and beneficial.

@yjf2002ghty
Copy link
Contributor Author

OK, I'll fix this.

@ianfab ianfab closed this as completed Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants