Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Which VC++ compiler options give fast chess engines?

Author: martin fierz

Date: 08:54:41 03/12/01

Go up one level in this thread


On March 12, 2001 at 10:25:55, Leen Ammeraal wrote:

>Working with Visual C++ 6.0, Professional Edition,
>I wondered if I can get faster code simply by
>using some compiler settings/options or any
>other VC++ tool. At the moment, all I do
>to speed up my chess engine is by using
>Project | Settings | C/C++
>and, with Category: General, I select
>Optimizations: Maximize Speed.

in the same tab Project|Settings|C/C++ you can
choose the category 'optimizations', and there
instead of maximize speed, choose the optimizations
yourself. i don't know what the names are in then
english version, because i have the german version.
i have activated every optimization except the
'compact code'.
also, in the edit box below, which might be called
something with 'embedded functions', i have chosen
'every possible' (again, i don't know the actual name).

in my checkers program, this gave me a faster executable
than just the 'maximize speed'-option, not very much, 5-10%
maybe, but still...

cheers
  martin



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.