Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: A story about NPS

Author: Dieter Buerssner

Date: 10:23:29 01/27/01

Go up one level in this thread


On January 27, 2001 at 10:10:47, Severi Salminen wrote:

>>You can go even faster if you remove checks to see that the moves are legal and
>>just go with pseudo-legal moves.
>
>Now I'm generating all pseudolegal moves (first all good (SEE) captures, then
>killers, then the rest sorted by history values and bad captures) and testing
>the legality after making the move. I don't know if that can be improved?

A possibility is, just to not test for legality at all. Call search
again, and when the move generation shows a capture of the king, return
immediately. I tried this once, and it can speed up things a little bit.

Later, I gave up on the idea. I spend less than 10% in my Incheck routines.
So no major speedup can be expected in general. The more complicated code
(especially in the case of null moves, or in my case, when really in check,
because I do not have a check evasion move generator), did not warrent
1% speedup or so.

Regards,
Dieter




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.