Thanks. That explains it, it seems. In order to find the ep move in the parentless positions (which some people will regard as illegal) SF would have to do a little bit more work in every position in check with an ep square.Ajedrecista wrote: ↑Tue Dec 22, 2020 8:07 pm Hello again:
The key could be in movegen.cpp. There is a three-line comment at current lines 159-161:
Which might explain the feature. A programmer opinion is valuable since I am not a programmer.Code: Select all
// An en passant capture can be an evasion only if the checking piece // is the double pushed pawn and so is in the target. Otherwise this // is a discovery check and we are forced to do otherwise.
Regards from Spain.
Ajedrecista.
I strongly doubt that this micro optimization brings any Elo.