Computer Chess Club Archives




Subject: Re: is the

Author: Tom Kerrigan

Date: 10:20:09 07/29/98

Go up one level in this thread

On July 29, 1998 at 08:08:01, Komputer Korner wrote:

>"Current Win 95 versions load programs by first copying the executable file into
>disk cache memory, as shown in "Windows 95, Windows 98 Unaligned." From there,

Yes, of course, this is how a disk cache works.

You're making a huge issue about some sort of waste of memory that simply does
not exist. Windows uses free memory as a disk cache. Yes, the program is loaded
into this memory, but why do you care? The memory wouldn't be used for anything
if this didn't happen.

Now to hash tables...

A hash table isn't part of a chess program's code. It isn't loaded from
anywhere. It doesn't have anything to do with the Windows disk cache. At no
point in time is it duplicated. Does this help clear things up?

The reason you can't use 100% of your memory for hash tables is because the
program needs memory to run. So does the operating system.

Another reason you can't use X megabytes of memory for hash tables is because
that's just not how they work. Hash tables in chess programs have 2^x entries.
If you tell my program to use 127 MB for its hash table, it will use 64 MB,
simply because of the way things are addressed in the table.

KK, I wouldn't get so pissed off at you if you posted questions about how things
worked, but when you write posts full of BS and pass it off as honest
information about computers, you might screw up other people.


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.