#47794: is_my_zoc_server() / is_my_zoc_client() Open Date: 2023-04-07 21:39 Last Update: 2023-05-27 20:32 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/47794 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=47794 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2023-05-27 20:32 Updated by: cazfi * Milestone Update from (None) to 3.0.9 --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Patches Status: Open Priority: 5 - Medium MileStone: 3.0.9 Component: General Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: For performance reasons it may make sense to have versions of is_my_zoc() optimized depending on whether it's being run on server or client. At least could get rid of all those "if (srv)" checks inside the loop. Server known to be omniscient could probably shortcut more things. -- 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/47794 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=47794