Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2004:
[Freeciv-Dev] Re: (PR#7195) inlining map_pos_to_index
Home

[Freeciv-Dev] Re: (PR#7195) inlining map_pos_to_index

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jshort@xxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#7195) inlining map_pos_to_index
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Mon, 5 Jan 2004 06:24:24 -0800
Reply-to: rt@xxxxxxxxxxx

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

On Mon, 5 Jan 2004, rwetmore@xxxxxxxxxxxx wrote:
> Thus there is no advantage to inlining in "C" programming.

But there is - you get type checking and it is less ugly. That said,
existing macros will only be converted to inline when there is measurable
increase in speed or great increase in readability. There is no religious
conversion to inline going on. It just happens to be more useful than not
in some cases.

  - Per




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