Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: 0x88 compared to rot BB

Author: Bas Hamstra

Date: 06:01:55 01/13/03

Go up one level in this thread


On January 13, 2003 at 08:23:44, Dieter Buerssner wrote:

>On January 12, 2003 at 17:14:18, Bas Hamstra wrote:
>
>>    for(n=0; n<Count; n++)
>>    {   From=PieceList[ByColor][n];
>>        Type=Bord[From]>>1;
>>        if(Type==PAWN) break;
>
>This assumes, that your piece list is sorted, with pawns at the end - right?
>This sounds a bit costy (in Makemove/Unmakemove?) If there are no other time
>critical places in the code, that use this info, I would try to get rid of it.

Sorted piecelist, yes, updated via make/unmake. The cost of this feature is that
I went from about 5M make/unmakes a second to 4M. The idea is to generate
captures at MVV/LVA order in the qsearch one at a time, in which case a sorted
piecelist is more or less needed. This, I hoped, would give an even higher nps.
With an unsorted piecelist, you would be forced to generate/sort all captures.
Your opinion?


Best regards,
Bas.




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.