Incidencia #47729

unit_type_iterate() to call unit_type_array_last() just once

Abrir Fecha: 2023-04-01 14:02 Última actualización: 2023-06-10 05:40

Informador:
Propietario:
Tipo:
Estado:
Cerrado
Componente:
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Fixed
Fichero:
1

Details

Number of unit types in the ruleset is not going to change during their iteration, so unit_type_iterate() should get that number just once, instead of calling unit_type_array_last() on every round (to avoid function call overhead)

Ticket History (3/4 Histories)

2023-04-01 14:02 Updated by: cazfi
  • New Ticket "unit_type_iterate() to call unit_type_array_last() just once" created
2023-06-03 17:03 Updated by: cazfi
  • Propietario Update from (Ninguno) to cazfi
  • Resolución Update from Ninguno to Accepted
2023-06-10 05:40 Updated by: cazfi
  • Estado Update from Open to Cerrado
  • Resolución Update from Accepted to Fixed

Attachment File List

Editar

Please login to add comment to this ticket » Entrar