Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2001:
[Freeciv-Dev] Re: Profiling Freeciv.
Home

[Freeciv-Dev] Re: Profiling Freeciv.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Profiling Freeciv.
From: Falk Hueffner <falk.hueffner@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: 05 Jan 2001 14:25:11 +0100

Gaute B Strokkenes <gs234@xxxxxxxxx> writes:

> An alternative is to use inline functions which are much more
> portable and have a clean fall-back if they're not available.
> However, the `an inline function is as fast as a macro' maxim isn't
> always entirely true, notably under GCC.

Hm, the gcc manual even explicitely says "An Inline Function is As
Fast As a Macro". Could you give an example where this is not the
case? (except of course the function code not being in the header
file)

        Falk




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