#48944: Cached list of extras with a given flag Open Date: 2023-11-05 18:31 Last Update: 2023-11-05 18:31 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/48944 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48944 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2023-11-05 18:31 Updated by: cazfi * New Ticket "Cached list of extras with a given flag" created --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Patches Status: Open Priority: 5 - Medium MileStone: (None) Component: General Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: is_extra_flag_card_near() and is_extra_flag_near_tile() could be made to iterate only cached list of extras with the flag in question, instead of current iterating over all extras and filtering out all without the flag. -- 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/48944 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48944