Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Piecelist or bitboard

Author: JW de Kort

Date: 02:34:31 12/17/02

Go up one level in this thread


On December 17, 2002 at 05:09:31, Gian-Carlo Pascutto wrote:

>On December 17, 2002 at 04:15:26, JW de Kort wrote:
>
>>Hi,
>>
>>Currently i'am using a piecelist to keep track of the locations of the pieces in
>>my 0x88 based program. Iám thinking about removing this list and replacing it by
>>a bitboard to keep track of the piecelocations of white pieces and black pieces.
>>I'am wondering of anybody else does this (i think some one will) and if this is
>>a good improvement to spees up my engine which is terrably slow. I have good
>>expierences with other bitboards in my program. I already use bitboard to do the
>>pawn evaluations and i'am thinkin about gradually removing the 0x88 stuff to
>>replace it with bitboards
>>
>>any help appreciated
>
>Have you used a profiler to check where the program is spending most of its
>time?
>
>--
>GCP

Indeed i did. Most of its time is pend in the evualation code but that is nomal.
Also a lot of time is spend in the capture move generation and the in check
function. If i could speed of these things i would get a large pay off.

But ther is another question involved. Iám not realy a good prograamer and i
just want to learn more about efficient programming. SO if this will only give a
small benefit i would be (partly) happy.

Reagrds

Jan Willem









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