Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Pawn hashing without Zobrist keys

Author: Omid David Tabibi

Date: 13:39:33 09/12/03

Go up one level in this thread


On September 12, 2003 at 16:34:48, Gian-Carlo Pascutto wrote:

>On September 12, 2003 at 16:33:13, Omid David Tabibi wrote:
>
>>I still don't understand why modulus is needed, and
>>I have a pawn hash of 2^17 entries. What is so special
>>about pawn hash that you need the modulus operation
>>there while you don't need it in the normal hash table?
>
>You don't?
>
>I assume you have 32 or 64 bit hash keys.

64 bit.

>
>How do you map 2^64 -> 2^17 ?

Please, don't tell me that you guys are mapping the hash key as following:

address = key % table_size;

???

Do you know how many cycles does the modolus operation take???


>
>--
>GCP



This page took 0.01 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.