lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> Anyway, there are tons of places an internal stringbuffer improves
> performance, serial concations is just one example, and as I realize
> this experimental feature 5.2.1-work is about  would also been covered
> as just one special case of that. So for example reading large String
> from a file, it could be stored as "Stringbuffer" until first used in
> a String context (e.g. as key to a table, compared to another string
> etc.)

We thought about something similar. Specifically, the current
luaL_Buffer mechanism would be implemented on top of that.

-- Roberto