Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: C optimization: int vs char

Author: Frank Phillips

Date: 13:41:15 10/10/01

Go up one level in this thread


On October 10, 2001 at 15:53:36, Gian-Carlo Pascutto wrote:

>On October 10, 2001 at 14:18:34, Frank Phillips wrote:
>
>>When I find out how to access the gcc3.0.1 documentation I installed I may try
>>to reduce the compiled size and see if it gets faster.
>
>-Os for size optimization
>
>There are loads of optimization settings and it pays off to
>tune them for your program.
>
>--
>GCP

Thanks.  Yes I have tried a few combinations including Os.

Interestingly the best combination so far is not the same for gcc3.0.1 as it is
for gcc2.96. The sizes of the compiled are also revealing
gcc3.0.1    498kB (same optimisations)
gcc2.96     393kB (same optimisations)
MSVC++      308kB

Something is clearly different in the way these compilers work, which is
intersting, but I do not know enough to suggest what.

Frank



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.