[Freeciv-Dev] [patch #4658] Ai should cache unit information

2014-04-20 Thread Emmet Hikory
Follow-up Comment #2, patch #4658 (project freeciv): My initial thought (without exploring all potential uses) is that the caching probably should happen on a per-turn basis, rather than at ruleset loading time. move_rate, attack, and defense already are dynamic, CanFortify, CanOccupy,

[Freeciv-Dev] [patch #4658] Ai should cache unit information

2014-04-19 Thread Emmet Hikory
URL: http://gna.org/patch/?4658 Summary: Ai should cache unit information Project: Freeciv Submitted by: persia Submitted on: Sun 20 Apr 2014 01:32:47 AM JST Category: ai Priority: 5 - Normal

[Freeciv-Dev] [patch #4658] Ai should cache unit information

2014-04-19 Thread Marko Lindqvist
Follow-up Comment #1, patch #4658 (project freeciv): One consideration in implementation is the maintainability in the sense that we don't want to forgot making changes to the caching when we turn something from constant through the game to can get bonuses from something / is not constant