Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: reuse Last Ply Moves In Move Gen ?

Author: Daniel Clausen

Date: 07:05:41 04/12/02

Go up one level in this thread


On April 12, 2002 at 09:30:45, Uri Blass wrote:

>You do not have to generate the pseudomoves all over again.
>I believe that programmers are usually not very good programmers
>so they choose to do it because recycling
>the old ones without bugs is too hard for them or takes
>too much time that they prefer to invest time in other things
>because they may get only a small speed improvement from
>recycling the old moves.

How efficient it is to 'update' pseudomoves (as opposed to create them
completely from scratch) is very dependant on the internal structures you use.

Also, depending on your engine, the time you spend in generating the moves is a
small fraction of the whole engine, so the added complexity (and small speed
gain) is not worth it for many (if not all) engines.

IMHO, YMMV, HTH etc :)

Sargon



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.