Add ability to mark all strings as untranslatable for performance

  • Thread starter Thread starter Tim Kuehn
  • Start date Start date
Status
Not open for further replies.
T

Tim Kuehn

Guest
Currently one has to mark a string with a :U to mark it as being unstranslatable. If it's not, then any operations like this: "string1" + "string2" + "string3" are performed each time this code is encountered, rather than being done at compile time. If these string segments were marked as un-translatable, then the compiler would concatenate them together at compile time, and it wouldn't be done during run time. For programs which will never require internationalization, having a compiler switch to treat all strings as untranslatable would be an easy performance win for these situations.

Continue reading...
 
Status
Not open for further replies.
Back
Top