URL:
<http://gna.org/patch/?4933>
Summary: reduce the number of calls to normalize_map_pos()
Project: Freeciv
Submitted by: pepeto
Submitted on: ven. 11 juil. 2014 22:47:32 CEST
Category: general
Priority: 5 - Normal
Status: Ready For Test
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release:
_______________________________________________________
Details:
Profiling trunk autogames shows that normalize_map_pos is abnormally used
(sometimes takes 10%). The attached patch reduce the number of the calls,
using map_pos_to_tile() in map macros.
Made for trunk, but could apply other branches too.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: ven. 11 juil. 2014 22:47:32 CEST Name: map_iterators.patch Size: 2 ko
By: pepeto
<http://gna.org/patch/download.php?file_id=21358>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?4933>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev