|
> > Lua optimises expressions of that form into a single concatenate > > operation. > > As well as > for k = 1, 100 do s = s...k end > ? No, of course not. But it's pretty easy to write an implementation of ropes using tables and the appropriate concat and tostring metamethods.