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

6% speed improvement #39

Closed
wants to merge 1 commit into from
Closed

6% speed improvement #39

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Jul 29, 2017

Further improvements could be: not restarting stockfish everytime. I did this in my own program and it made it 131x faster.

@fsmosca
Copy link
Owner

fsmosca commented Apr 7, 2019

With this change
bufsize=1
it will no longer run on python 2 and 3, on windows.

@fsmosca
Copy link
Owner

fsmosca commented Apr 7, 2019

Regarding the removal of
p.stdin.write("ucinewgame\n")

I don't really like this, in uci protocol it is always preferable to send that command to the engine specially when chess artist is used in epd processing.

On the other hand if chess artist is used in game analysis, not sending ucinewgame is reasonable as positions there could be related, but this is really not practical as the engine is quitted after every position analysis.

@fsmosca fsmosca closed this Apr 8, 2019
This pull request was closed.
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

Successfully merging this pull request may close these issues.

2 participants