Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: question about errors when I change my C code to C++

Author: Matt Taylor

Date: 20:29:00 02/24/03

Go up one level in this thread


On February 24, 2003 at 20:31:18, Uri Blass wrote:

>On February 24, 2003 at 19:32:22, Dann Corbit wrote:
>
>>On February 24, 2003 at 18:57:17, Uri Blass wrote:
>>[snip]
>>>I do not know how to select the option inline every suitable function and I now
>>>only optimize for speed(I use VC++6).
>>
>>From Project Settings/C++ tab,
>>Choose "Optimizations" category.
>>In the dropdown list, select "Any Suitable"
>
>Thanks
>
>It seems to help me to get speed improvement of more than 5%
>
>My second computer is busy in my correspondence game so I used my slower
>computer and the code of the latest version is not in the slower computer,
>but even a slightly slower version than the latest version ran more than 5%
>faster than the latest version based on my tests.
>
>Uri

I would suggest trying GCC 3.2. You can generate Windows executables with MingW,
and you can create makefiles to use with Visual Studio. GCC 3.2 was faster than
VC 7 in some things, so it's possible that you may see improved speed with GCC.
If you leave compiler differences on #define, you can go back to VC if you see
no gains.

-Matt



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.