Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: speed question

Author: Dezhi Zhao

Date: 15:17:54 02/22/03

Go up one level in this thread


<snip a lot>

>>are you sure this is the line you get the warning? what is your hash_table
>>declaration?

I mean the variable hash_table. Do you declare it as HASHE or something like the
following?

HASHE hash_table;

<snip>

>>or define TableSize as size_t to see what happens.
>
>what is size_t?
>
>I tried  to give it a constant value
>TableSize=1048576
>but it did not help
>
>Uri

size_t is just a wraper for unsigned int, defined in <stddef.h>
setting TableSize to a constant value here can not stop the warning obviously.
it is not the value but its type that really matters.





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.