Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] (PR#10044) city selection and non-ascii characters
Home

[Freeciv-Dev] (PR#10044) city selection and non-ascii characters

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#10044) city selection and non-ascii characters
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 10 Sep 2004 21:28:54 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10044 >

See PR#9995.

In the current code:

- City selection is pretty inefficient.  For the server to pick a name 
as a city suggestion is O(n^2).  Probably not a big deal.

- City-name suggestion will suggest any name from the nation's city name 
list.  But once these names are exhausted and it moves on to names from 
other nations, it will only suggest ascii names.

Fixing the second the "easy way" will make the first problem much worse. 
  Fixing them both is harder and will probably require some changes to 
the data format.  Whether it's worth it is unclear.  It may be better to 
have a different solution entirely where the ruleset lists specifically 
which characters are allowed.

jason




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#10044) city selection and non-ascii characters, Jason Short <=