"Simple const strings" might be useful especially as function parameters.
In a new lib, I use strings very often for configuration parameters. I
think it is generally quite a bit spoiled processing time, if such
small "function parameter strings" are allways processed to "full Lua
strings" and later must be garbage collected again.
If a "verbose string" is given to such a function (not a string
VARIABLE, but "..." construct (which of course IS constant, if passed
to a function)), then it really would be possibly nice also for the
garbage collector / efficient heap handling, if Lua could be
instructed somehow to place such a "simple const string" into some
"quasi-static" predefined heap - so then this string would NOT survive
any yielding.
Or for small systems it would also be nice, if just the ROM address of
this constant string could be passed. (just I assume this will not be
possible for larger system, which typically run in protected mode, and
protected mode might get alarmed if program code is addressed as data
code... at least if this code is not marked "const" ... on the other
hand of couirse it would be no problem in C, to mark such function
string parameters const... ).