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: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#7279) Macro optimizations
From: "Arnstein Lindgard" <a-l@xxxxxxx>
Date: Wed, 21 Jan 2004 07:24:37 -0800
Reply-to: rt@xxxxxxxxxxx

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

I wrote:
> This patch makes the server 17.6% faster.

On Tue, 20 Jan 2004 09:33:37 -0800 Jason Short wrote:
> Note that unless you compile with DEBUG is_normal_map_pos is rarely 
> called.  So this isn't a big issue IMO.

Yes, the new profile shows this function is irrelevant without DEBUG.

I tried to macro all the functions with a 9-digit number of calls in
the new profile, and got 11.85% speedup (when compiling without DEBUG
or profiling). Could always try inlining too.


Arnstein




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