Follow-up Comment #3, patch #6329 (project freeciv):

> Server side autogames (S2_6) regularly show over 38% of the time being spent
in pf_normal_map_iterate().

Since there has been significant optimizations to *other* parts of the code,
pf_normal_map_iterate() is now almost at 50% in my tests (49.5% in latest).
As for the calling side, it seems that in autogames almost all the time
(95.5%) is spent within assess_danger() and functions it calls. Currently it's
called twice a turn for every city, around turn change; once for AI
end-of-turn-activities and once for AI start-of-turn-acitivities. I wonder if
it would be possible to cut that to just one call (or one call always +
another under some conditions) without AI suffering much.

    _______________________________________________________

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

Reply via email to