#45677: tile_type_better() with three possible return values Open Date: 2022-09-20 14:32 Last Update: 2022-09-20 14:32 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/45677 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45677 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-09-20 14:32 Updated by: cazfi * New Ticket "tile_type_better() with three possible return values" 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: tile_type_better() currently gets called twice, consecutively, for checking both if "a > b" and if "b > a". Likely refactoring this so that only one call is needed would improve performance. -- 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/45677 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45677