Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: 0x88 compared to rot BB

Author: Klaus Friedel

Date: 12:48:08 01/13/03

Go up one level in this thread


As far as I understand it, you loop through your piecelist and check for each
piece, if it attacks your target field.

Have youe ever tried to do it the other way round ?

Test if a hypothtical queen, rook ... on the target square would attack opposite
pieces of the matching type.

Should be faster, especially in opening/middlegame positions where otherwise
many pieces have to be considered as attacker.

Regards,

Klaus Friedel



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.