URL:
<http://gna.org/patch/?6325>
Summary: Use cached values in is_cardinal_dir() and
is_valid_dir()
Project: Freeciv
Submitted by: cazfi
Submitted on: Sat 05 Sep 2015 11:00:58 AM EEST
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:
Cache dir->cardinal and dir->valid information when the topology is set. Use
that cache in is_cardinal_dir() and is_valid_dir() instead of calculation it
anew from the current topology every time.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sat 05 Sep 2015 11:00:58 AM EEST Name: CacheDirCardinality.patch Size:
3kB By: cazfi
<http://gna.org/patch/download.php?file_id=25059>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?6325>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev