Author: Reinhard Scharnagl
Date: 04:16:58 10/25/05
Go up one level in this thread
On October 25, 2005 at 02:59:07, Ross Boyd wrote: >On October 25, 2005 at 01:58:21, Terry Smith wrote: > >>On October 24, 2005 at 14:09:30, K. Burcham wrote: >> >>> >>> >>>Are there any programs that you know of, that clears hash between moves with the >>>default settings? >>> >>>kburcham >> >> >>I have wondered if it is a good idea to purge the hash table when any pawn is >>moved or a piece taken in the game. Those purged positions cannot ever be a hit >>again, so why keep them? > >A common technique used in many engines is to tag each hash entry with an >incrementing search id. Any entry with a search id not matching the current >search id gets overwritten by default. This approach makes clearing the hash an >automatic part of the search process. > >Otherwise, clearing the entire hashtable can be quite an overhead, especially >when playing blitz. SMIRF does it almost that way. But before overwriting the engine checks, whether the old cached information could be reused and, if that was the case, increments the stored information. Reinhard.
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.