[Freeciv-Dev] [Patch] Improve performance
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Avoid to compute the values twice in ai_find_elvis_pos. Remove a
method call for worst_elvis_tile.
Cache results of num_known_tech_with_flag.
Add a IS_BORDER_MAP_POS to road_bonus.
Remove tech_exists check from get_invention. update_research takes
care that tech which doesn't exists are UNKNOWN.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"Many of my assistants were fans of Tolkien, who wrote 'Lord of the Rings'
and a number of other children's stories for adults. The first character
alphabet that was programmed for my plotter was Elvish rather than Latin."
-- from SAIs "life as a computer for a quarter of a century"
perf1.diff
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] [Patch] Improve performance,
Raimar Falke <=
|
|