URL:
<http://gna.org/patch/?6329>
Summary: pf_normal_map_iterate() optimization
Project: Freeciv
Submitted by: cazfi
Submitted on: Sun 06 Sep 2015 05:54:44 PM EEST
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release:
_______________________________________________________
Details:
Server side autogames (S2_6) regularly show over 38% of the time being spent
in pf_normal_map_iterate().
Last time I looked it, there was not much that could be optimized in the
function (didn't check the callers, though - if we could avoid some calls),
but maybe it's time to look more closely.
I'm not sure about gprof accuracy, though (when applied to compiler optimized
code). It also claims that the single call to map_init() has taken over 33sec,
while I know the map comes up in a second.
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?6329>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev