Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Move Generation

Author: Dieter Buerssner

Date: 01:58:05 02/24/05

Go up one level in this thread


On February 23, 2005 at 13:47:30, Tord Romstad wrote:

>8 percent?  Are you sure?  On my profiler outputs, the is_check() and is_legal()
>functions are so far down the list that I have never even noticed them.

Tord, are you sure, that your is_check() type functions are not inlined? To me,
8 percent does not sound extremely much. With "so far down the list" I assume
you mean something like ~1% or smaller. How often do you call incheck, say
compared to make_move? IIRC my engine used considerably more than 1%, perhaps
close to the 8%. Basically incheck, make_move, unmake_move,
generate_moves/captures used comparable amount of time. Of course it depends on
some tricks mentioned here (that I have now, and I did not have them years
back). Overall those tricks do not save a lot and make code more complicated and
prone to errors. So perhaps not a good suggestion for a fresh engine.

Regards,
Dieter



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.