Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Does crafty stop calculating SEE after capturing a king?

Author: Robert Hyatt

Date: 06:26:05 01/13/04

Go up one level in this thread


On January 12, 2004 at 18:51:22, Uri Blass wrote:

>On January 12, 2004 at 17:47:07, Robert Hyatt wrote:
>
>>On January 12, 2004 at 17:34:52, Uri Blass wrote:
>>
>>>I do not see when it happens in crafty and note that it is not only a question
>>>of speed when it is not clear what is faster and if I understand correctly
>>>crafty may be wrong when a sequence of captures that is finished in trading
>>>kings happens and it may happen in the endgames.
>>>
>>>[D]8/5r2/5k2/3R1p2/5K2/8/8/8 w - - 0 1
>>>
>>>Rxf5+ is a good capture but based on SEE that let trading kings it can be
>>>pruned.
>>>
>>>Uri
>>
>>No.  It is not very frequent and doing the test will burn more time than
>>avoiding the test saves, since the occurrence is so tiny.  I simply ignore
>>it totally...
>
>I am not sure about the speed part.
>
>Doing the test is only adding one if
>
>I guess that it saves time in every case that capturing the king is done and not
>only in cases of trading kings because you do not need to search for captures
>after capturing the king.
>
>Uri


one if is not free.  If you do it a billion times, in ordering a billion moves,
it is even less free.  This is the way to take a program from 2M nps to 1M nps
in a heartbeat.  Just add a few nanoseconds here, and a few there, and before
you know it...  :)



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.