Computer Chess Club Archives


Search

Terms

Messages

Subject: to Richard Pijl: Smalltalk on ICC

Author: Daniel Mehrmannn

Date: 18:05:25 01/23/05


Hi Richard,

that is what we're talking about. Still very experimental and maybe not
the fastest code but makes homer clear faster:
Interessting idea and i thought thats new :)

copy & paste:
		/* hash move */
		if ((tryHashMove || tryUpperBound)) {
			if (from == MainHashTable[slot].move.from &&
				to == MainHashTable[slot].move.to) {
				/* killer ? */
				if (MainHashTable[slot].score >= beta) {
					*oPtr += HASH_MOVE+1;
					tryHashMove = FALSE;
					tryUpperBound = FALSE;
					continue;
				}
				if (MainHashTable[slot].flag & hashfBest) {
					*oPtr += HASH_MOVE;
					tryHashMove = FALSE;
					continue;
				} else if (MainHashTable[slot].flag & hashfUpper) {
					*oPtr += UPPER_MOVE;
					tryUpperBound = FALSE;
					continue;
				}
			}
		}

daniel



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.