Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2004:
[Freeciv-Dev] Re: (PR#7279) Macro optimizations
Home

[Freeciv-Dev] Re: (PR#7279) Macro optimizations

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: a-l@xxxxxxx
Subject: [Freeciv-Dev] Re: (PR#7279) Macro optimizations
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Tue, 20 Jan 2004 23:54:27 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=7279 >

On Tue, Jan 20, 2004 at 09:08:03AM -0800, Arnstein Lindgard wrote:
> This patch makes the server 17.6% faster.
> I wrote 3 macros to see if I could learn something about the
> preprocessor etc, looking at the Corecleanups and the profile
> data (PR#7278).

> Why not start using these simple tricks to gain free speed. The
> Corecleanup is an old patch. Of course, inlining should give exactly
> the same results, if you're using the gcc compiler :-) I guess
> the trick is to decide on something.

Can you try this? I.e. inline the functions and measure again. It
should be easy to do.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "The two rules for success in life are:
  1) Never tell them everything you know."




[Prev in Thread] Current Thread [Next in Thread]