On Wed, 2008-10-29 at 13:08 -0500, Zach Wegner wrote:
> I'm not familiar with low-level C# stuff, but I imagine the reason is
> increased code size.
> 
> And I really doubt that the overflow checking for the playout ID is
> worth doing. After 4 billion playouts (assuming unsigned 32 bit int)
> is there any chance of an intersection not being hit once?

The solution for that is to clear the array before each move (not each
playout of course.)  Unless you are doing over 4 billion playouts in a
single move that would solve the problem.  

If you are doing less that 4 billion playouts per game,  you could just
clear it once before each game.   

My solution is not to use aging here.  There is no real point and you
have to remark the code so that someone else reading it knows what you
are doing.   It goes against good engineering principles.   Do the
simple clear thing when it makes no difference. 

- Don



> _______________________________________________
> computer-go mailing list
> computer-go@computer-go.org
> http://www.computer-go.org/mailman/listinfo/computer-go/

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
computer-go mailing list
computer-go@computer-go.org
http://www.computer-go.org/mailman/listinfo/computer-go/

Reply via email to