Stockfish still searching after insufficient material

Created on 9 Nov 2019  路  3Comments  路  Source: official-stockfish/Stockfish

This is a clip of stockfish analysis:
8/1k6/5p2/8/4K3/8/8/8 w - - 0 1

  1. Kf5 Kb6 2. Kxf6 Kb5 3. Kg5 Ka4...
    Look how it is still searching after the game would have been ended because the capture of the pawn.
    Sorry for my bad english.

Most helpful comment

It saves a few lines of code but wastes cpu resources, right? Less code is desired but is it an end in itself? Maybe I'm too obsessed with frugality, (as I hate seeing parked cars with engine on, taps running, etc) but I think a reconsideration is worth it.

All 3 comments

This is the result of a simplification. It was determined that letting SF continue to search in a draw position does not lose elo. This saves a few lines of code so...

It saves a few lines of code but wastes cpu resources, right? Less code is desired but is it an end in itself? Maybe I'm too obsessed with frugality, (as I hate seeing parked cars with engine on, taps running, etc) but I think a reconsideration is worth it.

Probably not a issue, but if somebody feels like writing a patch and opening a PR, then we could discuss it there. So I am closing this for now

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ZagButNoZig picture ZagButNoZig  路  6Comments

niklasf picture niklasf  路  5Comments

mstembera picture mstembera  路  5Comments

MoonstoneLight picture MoonstoneLight  路  5Comments

BKSpurgeon picture BKSpurgeon  路  6Comments