Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Chess engine speed up tricks

Author: Pallav Nawani

Date: 18:34:51 02/15/05

Go up one level in this thread


On February 15, 2005 at 16:31:03, Charles Roberson wrote:

>
> I just downloaded your source. I wasn't going to read it, just profile it.
>But.......
>
>   A quick look at your search routines indicates you may have a problem with
>  number of nodes to complete a ply.
>     -- You don't use fractional extensions. All your extensions are full.
>     Going to fractional extensions could help considerably.

Youv'e downloaded Natwarlal 0.09, I hope. I do use fractional extensions, just
in a different way. I use floats to do that.

>   In your qsearch, there is something that at first look seems to be a bug.
>   You check the futility of the move before checking to see if it is a legal
>   move. Seems incorrect to me, but I was doing a quick scan.

That's a speedup trick. There is no need to check the legality of move if it is
being pruned, so I do the pruning test first, then if it fails, I do the
legality test. It was good for a speedup of around 5% :)

>   I'll try profiling it now. Will post the results here.

Thanks,
Pallav

>
>  Charles



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.