Computer Chess Club Archives


Search

Terms

Messages

Subject: Different Hash Table Implementations

Author: David Rasmussen

Date: 07:44:43 01/18/02


My hashtable implementation has separate tables for white and black, and a part
of each of these tables is depth prioritized. This works ok in general I think.
But I notice that Crafty for one, uses one table, and then inverses the hashkey
in case of probes and stores, when it's black to move. There may be other
implementations as well.

What are the pros and cons of these approaches, and specifically, why does
Crafty invert the hashkeys in the case of black to move, instead of just hashing
the color into the hashkey?

/David (who is deparately trying to find a possible hashing bug in Chezzz...)



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.