View Single Post
  #1820  
Old January 7th, 2005, 10:03 PM
Ed Kolis's Avatar

Ed Kolis Ed Kolis is offline
General
 
Join Date: Apr 2001
Location: Cincinnati, Ohio, USA
Posts: 4,547
Thanks: 1
Thanked 7 Times in 5 Posts
Ed Kolis is on a distinguished road
Default Re: SE5, Tell Aaron what\'s on your Wish List

Quote:
Atrocities said:
But do you know how large that file will have to be? We are talking 20,000 names at a min.
Large file? How so? Let's see, if we have two prefixes (one for military ships, one for civilian ships), twenty name beginnings, twenty name middles, and twenty name endings, that gives us 2*20*20*20 = 8000 unique ship names! And each name part will usually only be a few characters (e.g. the name "USS Enterprise" could be formed from the parts "USS ", "Ent", "er", and "prise"). Granted you will get a lot of nonsense names (such as "USS Trollumforce" to use a few synonyms ) but as long as some lexical rules are applied (at least for the human ship names) you won't get anything really silly (like "USS Zxbnft", which might be a good Xiati or Drushocka ship name were it not for the USS part )
Basically, the principle is to get the most out of your data entry. 8000 ship names at an average of 12 letters each would take up 96 KB of space, which would take a long time to type in; 8000 ship names in the 2x20x20x20 scheme I suggested earlier would only take 186 *bytes* (assuming each name part happens to be 3 letters). And if you add another name part to the list, it adds not just one name, but hundreds!
__________________
The Ed draws near! What dost thou deaux?
Reply With Quote