Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Check evasion : what's the point anyway?

Author: Alessandro Scotti

Date: 05:57:33 08/24/04

Go up one level in this thread


On August 24, 2004 at 06:17:50, martin fierz wrote:

>as a related question to mridul's post: i don't have a special check evasion
>generator. i just have a single normal move generator and if it's a check, i
>will have to execute all the normal moves, and undo them again after seeing that
>it's still a check.
>
>does anyone have an estimate on how much a specialized check-evasion move
>generator would speed up a program?
>is it really worth it?

When I added the check evasion code I got a noticeable performance speedup, but
later I discovered that the compiler wasn't inlining all the proper functions.
Having fixed that and a couple of other bugs I now get:

Running perft(6) on the start position: 4882 KNps (without) -> 4913 KNps (with)
And from a middlegame position: 4535 KNps -> 4605 KNps

So the performance improvement is extremely small.



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.