Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: hash table size - is a power of 2 still an advantage these days?

Author: Dieter Buerssner

Date: 15:14:46 09/24/03

Go up one level in this thread


On September 24, 2003 at 17:32:16, Dieter Buerssner wrote:

>  struct hash_entry *p = (struct hash_entry *)((unsigned char *)(base_adress +
>(size_t)((UINT64)tableSize_times_48 * (hashKey64 & 0xffffffff))));

Sorry, parentheses are wrong. base_adress must be casted to some char *, not the
result of adding base_adress to some term. I typed it just in. After reading it,
it was obvious. I hope, the idea is still clear.

Regards,
Dieter



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.