[Freeciv-tickets] [freeciv] #48369: Optimize settler_map_iterate() loop

Back to archive index
OSDN Ticket System norep****@osdn*****
Sat Oct 14 20:55:25 JST 2023


#48369: Optimize settler_map_iterate() loop

  Open Date: 2023-07-09 02:08
Last Update: 2023-10-14 14:55

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/48369
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48369

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2023-10-14 14:55 Updated by: cazfi
 * Status Update from Open to Closed
 * Resolution Update from Accepted to Fixed


---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: cazfi
          Type: Patches
        Status: Closed
      Priority: 5 - Medium
     MileStone: 3.1.0-beta4
     Component: AI
      Severity: 5 - Medium
    Resolution: Fixed
---------------------------------------------------------------------

Ticket details:

Map iteration loop in settler_map_iterate() checks some things about punit every round. Better would be to get them once outside the loop, and use just the result within the loop.

-- 
Ticket information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/48369
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48369



More information about the Freeciv-tickets mailing list
Back to archive index