Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2002:
[Freeciv-Dev] Re: [Patch] simple_ai_unit_type_iterate

[Freeciv-Dev] Re: [Patch] simple_ai_unit_type_iterate

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [Patch] simple_ai_unit_type_iterate
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 8 Mar 2002 18:35:20 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Wed, Mar 06, 2002 at 12:47:52PM +0100, Raimar Falke wrote:
> It turns out that is_ai_simple_military can be computed before the
> game starts. The patch does this and replaces the calls with a new
> iterate. Another 2.2% speedup.

Mike provided the idea to code the iterate in another form which
should be a bit faster. However I haven't made any measurements
yet. (HINT).


 email: rf13@xxxxxxxxxxxxxxxxx
 "Despite all the medical advances of the 20th century, the mortality 
  rate remains unchanged at 1 death per person."

Attachment: simple_ai_unit_type_iterate2.diff
Description: Text document

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