#47794: is_my_zoc_server() / is_my_zoc_client() Open Date: 2023-04-07 21:39 Last Update: 2023-07-11 22:05 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-07-11 22:05 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.0.9 Component: General Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- 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