Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Using a position array vs. make/unmake move

Author: Jon Dart

Date: 07:50:08 08/21/02

Go up one level in this thread


>In my case I have a half/half approach, most of the 64 bit stuff, like the
>update of the rotated bitboards (and I believe also the hashkeys) I push onto a
>stack (which IS faster in my case). The rest I unmake().

I also save some of the state on the stack and restore it this way, but not all
of it. Copying all the board state during undo is slower (in my case it is 64
ints for the board, plus several bitboards and status variables).

--Jon




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.