Author: Zappa
Date: 10:10:11 12/06/05
Go up one level in this thread
On December 06, 2005 at 02:16:23, Alessandro Scotti wrote: >On December 05, 2005 at 23:24:52, Zappa wrote: > >>I am getting really, really tired of coding all my evaluation twice (once for >>white and once for black). However, one of the things that is keeping me from >>switching to a for(i < 2) loop is that I can't do a shift! > >Hi Anthony, >would it be possible to compute the required values before entering the loop? >Then you can easily access them by index. > >// Small black/white dependent part... >pp[0] = pawns << 8; >pp[1] = pawns >> 8; > >// Color independent stuff... >for( ... ) Good idea but I have a _lot_ shifts all over the place :( its one of the reasons that my code is so slow on 32 bits. anthony
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.