Incidencia #48293

Narrower data type for diplstate has_reason_to_cancel

Abrir Fecha: 2023-06-26 07:20 Última actualización: 2023-07-01 07:38

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

Details

diplstate has_reason_to_cancel ever takes only values 0, 1, or 2. Yet it uses width of an entire int.

Size diplstate of diplstate structure is critical one with high number of players, as the number of structures in memory grow exponentially.

Ticket History (3/4 Histories)

2023-06-26 07:20 Updated by: cazfi
  • New Ticket "Narrower data type for diplstate has_reason_to_cancel" created
2023-06-26 07:55 Updated by: cazfi
  • Propietario Update from (Ninguno) to cazfi
  • Resolución Update from Ninguno to Accepted
2023-07-01 07:38 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