Ticket #48293

Narrower data type for diplstate has_reason_to_cancel

오픈 날짜: 2023-06-26 07:20 마지막 업데이트: 2023-07-01 07:38

Reporter:
소유자:
Type:
Status:
Closed
Component:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
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
  • 소유자 Update from (None) to cazfi
  • Resolution Update from None to Accepted
2023-07-01 07:38 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Attachment File List

Edit

Please login to add comment to this ticket » Login