Tíquete #48293

Narrower data type for diplstate has_reason_to_cancel

: 2023-06-26 07:20 Última Atualização: 2023-07-01 07:38

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
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
  • Dono Update from (Nenhum) to cazfi
  • Resolução Update from Nenhum to Accepted
2023-07-01 07:38 Updated by: cazfi
  • Estado Update from Aberto to Fechado
  • Resolução Update from Accepted to Fixed

Attachment File List

Editar

Please login to add comment to this ticket » Login