[computer-go] Efficiently selecting a point to play in a random
playout
Jason House
jason.james.house at gmail.com
Tue Jun 5 11:59:21 PDT 2007
On 6/5/07, Peter Drake <drake at lclark.edu> wrote:
>
> On a multithreaded program like Orego (running on a multicore machine), it
> moves the nontrivial random number generation out of the synchronized part
> of the program and into the threads.
>
I'm surprised to hear this. Do you have a single random number generator?
In housebot, Each thread has its own random number generator instance.
Besides avoiding a bottleneck as each thread generates random numbers, it
also opens the door for repeatable behavior in a single worker thread.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://computer-go.org/pipermail/computer-go/attachments/20070605/c2fdc4ad/attachment.htm
More information about the computer-go
mailing list