Computer Chess Club Archives


Search

Terms

Messages

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

Author: Leen Ammeraal

Date: 09:57:45 03/12/01

Go up one level in this thread


On March 12, 2001 at 11:54:41, martin fierz wrote:

>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

Thanks for your reply. After taking your advice,
I saw that the executable file was much larger.
In a singe game, the new version lost, but
this may very well be bad luck, so I think I will
play a match of, say, 20 games, to compare
the same program compiled with two different
settings.
Leen




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.