[Freeciv-Dev] Re: Map coordinate cleanups.
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
At 03:24 PM 01/08/19 -0700, Kevin Brown wrote:
>Ross W. Wetmore <rwetmore@xxxxxxxxxxxx> wrote:
>> The total run times for an exactly identical game show an overall
>> 25% cost (9 min vs 12 min) for functions over macros for a small
>> set of the common ones. One could probably refine this by playing
>> with the set to see which were the key ones.
>
>Hmm...yes, but is this for *regular* function calls or for *inline*
>ones? That's what really needs to be tested, though inline functions
>might not be available on some of the platforms that would likely be
>most affected by these things (the Amiga, in particular)...
I would not expect any significant difference between inline functions
and macros. I think the issues here are of style and compatibility.
Macros do work everywhere, inlined functions may not. There are some
advantages to using inlined functions as they don't have quite the set
of restrictions that macros do. There is less subjective noise in
arriving at suitable names for inlined functions, etc.
Cheers,
RossW
>--
>Kevin Brown kevin@xxxxxxxxxxxxxx
>
> It's really hard to define what "unexpected behavior" means when you're
> talking about Windows
- [Freeciv-Dev] Re: Map coordinate cleanups., (continued)
- [Freeciv-Dev] Re: Map coordinate cleanups., Justin Moore, 2001/08/17
- [Freeciv-Dev] Re: Map coordinate cleanups., Kevin Brown, 2001/08/17
- [Freeciv-Dev] Re: Map coordinate cleanups., Raimar Falke, 2001/08/19
- [Freeciv-Dev] Re: Map coordinate cleanups., Ross W. Wetmore, 2001/08/19
- [Freeciv-Dev] Re: Map coordinate cleanups., Raimar Falke, 2001/08/19
- [Freeciv-Dev] Re: Map coordinate cleanups., Jason Dorje Short, 2001/08/19
- [Freeciv-Dev] Re: Map coordinate cleanups., Raimar Falke, 2001/08/19
- [Freeciv-Dev] GTK client draws more slowly than it needs to, Kevin Brown, 2001/08/19
- [Freeciv-Dev] Re: GTK client draws more slowly than it needs to, Raimar Falke, 2001/08/20
- [Freeciv-Dev] Re: Map coordinate cleanups., Kevin Brown, 2001/08/19
- [Freeciv-Dev] Re: Map coordinate cleanups.,
Ross W. Wetmore <=
- [Freeciv-Dev] Re: Map coordinate cleanups., Kevin Brown, 2001/08/19
- [Freeciv-Dev] Re: Map coordinate cleanups., Raimar Falke, 2001/08/20
- [Freeciv-Dev] Re: Map coordinate cleanups., Raimar Falke, 2001/08/16
- [Freeciv-Dev] Re: Map coordinate cleanups., Trent Piepho, 2001/08/16
- [Freeciv-Dev] Re: Map coordinate cleanups., Gaute B Strokkenes, 2001/08/16
- [Freeciv-Dev] Re: Map coordinate cleanups., Trent Piepho, 2001/08/16
- [Freeciv-Dev] Re: Map coordinate cleanups., Gaute B Strokkenes, 2001/08/17
[Freeciv-Dev] Re: Map coordinate cleanups., Raimar Falke, 2001/08/16
|
|