[Freeciv-tickets] [freeciv] #47904: action_by_result_iterate() by cached list

アーカイブの一覧に戻る
OSDN Ticket System norep****@osdn*****
Thu Jun 15 15:51:43 JST 2023


#47904: action_by_result_iterate() by cached list

  Open Date: 2023-04-23 01:11
Last Update: 2023-06-15 09:51

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

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

Last Changes/Comment on this Ticket:
2023-06-15 09:51 Updated by: cazfi

Comment:

Test on a profiled autogame went from runtime of 2010 sec to 1942 sec with this. While the system where I run this is not extremely strict on avoiding measurement errors in such comparisons, this run was set up to be quite accurate -> speedup this notable could not be explained away as a measurement error.

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

      Reporter: cazfi
         Owner: cazfi
          Type: Patches
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: 3.1.0-beta3
     Component: General
      Severity: 5 - Medium
    Resolution: Accepted
---------------------------------------------------------------------

Ticket details:

Current action_by_result_iterate() goes over all actions, and just checks which have the desired actres. Should go over just an precalculated actions list.

-- 
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/47904
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=47904



More information about the Freeciv-tickets mailing list
アーカイブの一覧に戻る