Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Mixing 0x88 and bitboards

Author: Gian-Carlo Pascutto

Date: 13:35:26 06/25/02

Go up one level in this thread


On June 25, 2002 at 14:26:37, Russell Reagan wrote:

>On June 25, 2002 at 05:07:26, Gian-Carlo Pascutto wrote:
>
>>Hrmpf. In my experience, there are many things
>>that are both faster and easier to evaluate via
>>a classic approach.
>
>Could you give some examples of things that you have found that can be
>calculated faster using the classic approach?

'Is there a white pawn on e6?'

if (board[E6] == wpawn)

1 load
1 compare

if (WhitePawns & Mask[e6])

2 64-bit loads
1 64-bit and
1 64-bit compare

--
GCP



This page took 0.02 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.