Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: How to make your movegen 4x slower in 1 easy step

Author: Dann Corbit

Date: 11:28:53 08/30/01

Go up one level in this thread


On August 30, 2001 at 14:25:39, Scott Gasch wrote:

>On August 30, 2001 at 14:07:50, Dann Corbit wrote:
>
>>
>>Dumb question:
>>Why not let them all have their own move generator and just share the hash
>>table?
>
>I guess that's one approach -- run them as seperate processes in seperate
>virtual address spaces and simply share the hash table.  I was planning on using
>simple threads in the same address space though.  Not sure why, seems more
>straightforward to me...

I think threads are better too, but you can still have separate data structures
for your move generators.

Besides which, you would not have to used shared memory for your hash table --
ordinary malloc() would be fine instead if you use a single process with
multiple threads



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.