Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2005:
[Freeciv-Dev] (PR#11828) patch: partial city update for what-if scenario
Home

[Freeciv-Dev] (PR#11828) patch: partial city update for what-if scenario

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#11828) patch: partial city update for what-if scenarios
From: "Benoit Hudson" <bh@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 6 Jan 2005 22:00:23 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11828 >

Here's a patch to do a partial update to the city: if the caller 
knows the production, then we can update the city in half 
the time of a generic_city_refresh.

The patch includes a one-line change to the cm to use the new
function.  The cm.sav.gz in PR#10203 takes 3.8s in the CM rather
than 4.8s on load; and the CM on Boston takes ~.3s rather than ~.7s

Attachment: city_fast_refresh.diff
Description: Binary data


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