Mail Archives: djgpp/1997/11/07/05:30:59
>> Here are some tips on code optimizing that I saw somewhere:
>> * First, profile your code and find what needs improving; it's often not
>> what you think.
>> * A good algorithm is likely to make the most difference in speed.
>> * Tricks in rearranging syntax to get the compiler to make better code
>> rarely help.
>
>I agree with Nate for 1 and 2. Not for 3 if you'll use GCC because for
>somethings is really stupid and needs some help (I don't know about a better
>compiler).
Could you give some examples of situations when GCC really needs help to
provide optimized code!
-- Peter Palotas alias Blizzar -- blizzar AT hem1 DOT passagen DOT se --
*****************************************************
* A brief description of DJGPP: *
* NEVER BEFORE HAS SO FEW DONE SO MUCH FOR SO MANY! *
*****************************************************
- Raw text -