[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.1 (work1) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 23 Mar 2012 13:28:03 -0300
> 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