Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Dopey popcnt idea

Author: Colin Frayn

Date: 08:26:16 04/30/00

Go up one level in this thread


On April 30, 2000 at 09:52:06, Robert Hyatt wrote:

>On April 30, 2000 at 04:20:40, Dann Corbit wrote:
>
>>Instead of calculation of population count for a board, why not just use a
>>counter to keep track of captures and decrement it when a capture is unmade?
>>
>>Would this be more or less efficient?
>>
>>Has it been tried already?

I do that.  Not sure how many advantages it gives though.

>I do this for material.  But I can't easily do it for other things.  IE "How
>many pawns are on this file?"

I keep track of that too.  Not sure if it's quicker or slower, but it works OK,
so I don't really bother checking..... :)

I don't do 'how many rooks on each file' though.  That gets calculated during
the eval.

Cheers,
Colin



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.