Computer Chess Club Archives




Subject: Re: Storing the PV in a search routine

Author: Scott Gasch

Date: 14:04:05 06/09/98

Go up one level in this thread

Thanks a lot, your description was excellent, I've implemented it and it
As a followup, you say that the memcpy won't hurt performance much but
I'm not
so sure of that... in your experience, is it better to use a 2D array
for the
PV or linked lists?  With the prior you have the issue of memcpys
whereas with
the latter you have the overhead of a memcpy per ply but can then link
ply-1 list to the ply list very easily.  Of course then you have to deal
free calls...

Thanks again for the help.


This page took 0.02 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.