Computer Chess Club Archives




Subject: Re: Perft 5,6 {Fastest program is List}

Author: Uri Blass

Date: 15:46:32 06/05/02

Go up one level in this thread

On June 05, 2002 at 17:39:33, Sune Fischer wrote:

>On June 05, 2002 at 11:00:30, Uri Blass wrote:
>>The point is that people may use the fast perft to debug their program by
>>comparing the result of the perft that is based on their move generator with the
>>result of the fast perft.
>>Doing it with a function that calculates perft slower can take more time.
>You only need the perft numbers once for every testposition, so speed is
>I would probably not even trust my own numbers, I use Sjeng and Beowulf to get
>the "right" numbers (if they match), then I test if I get the same.
>To improve speed I would have to take a lot of stuff out of my movegen (like the
>incremental key generation and evaluation), but I want perft to be a permanent
>function in the program so that is not an option.
>The alternative is to make seperate makemove/unmakemove functions, but then
>perft is no longer usable as a debugging tool, which is its main/only(!)
>I remember we had this discussion before, we tried to start a small competition,
>but nobody wanted to strip their program naked just to run a fast perft.
>Is it possible you are now part of that group? ;)

I do not think that it is hard for me to change my move generator to calculate
perft faster.

I saved some of the old source codes of movei so I can also use them if I want.

I suspect that it is still faster than list but I am not sure because I did not
run perft for a long time because I did not do changes in the move generator
that are relevant for perft.

chnages like updating hash keys are changes that are not going to break perft so
I did not need to check if perft is correct.

I have also some variable in my makemove that are not used in my move generator
but I guess that all of this do movei maybe 10 or 20% slower in calculating
perft and not more than it because I know that there is no significant change in
the speed of movei in nodes per second inspite of adding a lot of variables.

I may check it later.


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.