Clearing hashtables

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

ChessAddict

Clearing hashtables

Post by ChessAddict »

Is there any time that we should clear the hashtables?
User avatar
hgm
Posts: 28451
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Clearing hashtables

Post by hgm »

If you want to be able to reproduce the exact search after a bad move for debugging purposes, you should clear the hash table between moves.

If you switch to a new variant (e.g. suicide Chess or Shtranj in stead of normal) you'd better clear the hash table before the new game starts.