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: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Tue, 20 Jan 2004 23:23:09 -0800
Reply-to: rt@xxxxxxxxxxx

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

On Tue, 20 Jan 2004, rwetmore@xxxxxxxxxxxx wrote:
> A lot of code is written as map_get_*(x,y) rather than caching the
> map_get_tile() as ptile and calling a tile_get_*(ptile) function instead.
> Some simple code changes in a few places here can reduce times significantly
> as well.

Rafal tried this, and the result was not significant.

  - Per




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