Ticket #45786

Dynamic city name length

Open Date: 2022-10-07 12:50 Last Update: 2022-10-20 11:36

Reporter:
Owner:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
1

Details

Having MAX_LEN_CITYNAME space reserved for the city name in all city structures can be a bit wasteful. Worst case scenario is a server on a game with a huge number of cities AND players -> playermap of each player having all those cities.

Freeciv-web actually makes the MAX_LEN_CITYNAME shorter for this reason, causing one incompatibility and some unnecessary diff.

Ticket History (3/5 Histories)

2022-10-07 12:50 Updated by: cazfi
  • New Ticket "Dynamic city name length" created
2022-10-13 02:47 Updated by: cazfi
Comment

It actually makes sense to do this patch series (presumably three tickets) to S3_1, before npf.

2022-10-15 18:12 Updated by: cazfi
  • Owner Update from (None) to cazfi
  • Resolution Update from None to Accepted
2022-10-20 11:36 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login