Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Fastest Conversion from 0x88 board to 8x8 board representation

Author: Miguel A. Ballicora

Date: 12:00:25 07/06/01

Go up one level in this thread


On July 06, 2001 at 14:37:14, Artem Pyatakov wrote:

>I would like to save some memory in things like the history table, but I am
>using the 0x88 board representation, and I would like to sometimes convert these
>coordinates to a normal 8x8 board (so I could have a 64x64 array instead of
>128x128 array)... What is the fastest way to do this conversion?
>
>Thanks

Do you really need 128x128? I think that 64x128 should be enough for a 0x88
implementation. You don't need to actually occupy the squares, just the index
should be different. So, the upper part of the 128x128 is not used.

Regards,
Miguel




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.