URL:
<http://gna.org/patch/?5663>
Summary: Optimize handling of upkeep of units without
Shield2Gold flag
Project: Freeciv
Submitted by: cazfi
Submitted on: Sun 04 Jan 2015 12:57:32 PM EET
Category: general
Priority: 5 - Normal
Status: Ready For Test
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.6.0, 3.0.0
_______________________________________________________
Details:
Most units in most rulesets have no Shield2Gold flag. When determining upkeep,
make fast check of the flag first and more expensive calculations only when
for units which they are needed.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sun 04 Jan 2015 12:57:32 PM EET Name: Shield2GoldNotOptimize.patch
Size: 1kB By: cazfi
<http://gna.org/patch/download.php?file_id=23392>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?5663>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev