Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Hashing question

Author: Gian-Carlo Pascutto

Date: 03:15:28 12/31/01

Go up one level in this thread


On December 31, 2001 at 06:05:45, Alvaro Jose Povoa Cardoso wrote:

>Hi everyone,
>
>Wich is better?:
>
>   1 - Having a one dimension hash table and do the following:
>       temp_hashkey=(wtm) ? HashKey : ~HashKey;
>       like crafty does
>or:
>   2 - Having a two dimension hash table and store black in the index 0 for the
>       1st dimension and store white in index 1 for the 1st dimension.
>
>Is it a 'wash' or are there advantages and disadvantages?

Intuitively I would pick the first method, since it makes better
use of available memory.

--
GCP



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.