Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Hashing

Author: Angrim

Date: 13:04:03 04/04/03

Go up one level in this thread


On April 04, 2003 at 15:06:37, Russell Reagan wrote:

>On April 04, 2003 at 14:57:50, Keith Evans wrote:
>
>>What do you think you will gain by excluding certain elements?
>
>I have heard people discuss the drawbacks of including the fifty move counter in
>the past. I'm not sure of the details though.
>
>As far as an example, try this:
>
>[D] rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq e3 0 1
>
>The en passant square is e3. If you did a large search from this position, and
>then encountered it again without the ep square set, then you won't find it in
>your transposition table, even though the en passant square being set has
>nothing to do with the score of this position. If you didn't hash the ep square,
>you would get that large search again here for free. Maybe this is something
>that partition search addresses. I'm not sure.

Something you may not have thought about. Why is e3 the en-passant square in the
position that you posted?  There is no en-passant capture legal there, so
I think it is silly to record it as being an en-passant square.  When an
en-passant capture is actually legal, it is important to record this fact
in the hash, since the ep-capture might be the best move in that position,
but illegal in a position which differed only in the ep-legality.


Angrim



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.