Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Attack Bitboards

Author: J. Wesley Cleveland

Date: 09:08:31 10/30/01

Go up one level in this thread


On October 30, 2001 at 09:21:49, Gerd Isenberg wrote:

[snip]
>For the four preprocessed xxx_attacks[square][status] arrays it's not necessary
>to use all 8 squares on xxx for occupied status, the inner six squares are
>enough - so use xxx_attacks[64][64] instead of xxx_attacks[64][256].

Don't you have to do a mask and a shift to get your index then ? Have you done
measurements to see if this is better than the larger arrays ?



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.