Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Analysing and debugging hash table

Author: Jon Dart

Date: 20:57:42 05/08/02

Go up one level in this thread


Arasan has a compile-time switch that turns on copious debugging output,
including all hash probes and hits. It also has a lot of assert macros that are
turned on when compiled in debug mode. A lot of times there's a problem at hash
insert time, but the search starts to go haywire later on when the hash table is
probed, so you really need the whole tree to get the complete picture.

The debugging stuff helped a lot in earlier days when there were bugs that would
show up in shallow searches. But it is no fun wading through a few megabytes of
trace output. I just had a situation today where it sacrificed a pawn for
apparently no reason, and I can't reproduce it starting the search from an empty
hashtable .. could be a hashtable bug. But if so it is probably not a simple on
- I clobbered a lot of those already.

--Jon



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.