[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.1 (work1) now available
- From: "William C. Bubel" <wcbubel@...>
- Date: Fri, 23 Mar 2012 20:13:19 -0400
On 03/23/2012 01:17 AM, Petri Häkkinen wrote:
> Would this mean that long strings are no longer shared in memory? I.e. could there be several copies of the same long string in memory? If so, this could increase memory consumption of certain applications considerably and could be a problem for games and embedded systems.
The answer to this would interest me too, if it hasn't been said yet.
I would hope that basic copy-on-write behavior would apply, i.e. that
with long strings a=b means that the a and b pointers are the same
until some modification of b takes place via string.format, string.gsub,
the concat operator, etc.
- References:
- [ANN] Lua 5.2.1 (work1) now available, Luiz Henrique de Figueiredo
- Re: [ANN] Lua 5.2.1 (work1) now available, liam mail
- Re: [ANN] Lua 5.2.1 (work1) now available, liam mail
- Re: [ANN] Lua 5.2.1 (work1) now available, Roberto Ierusalimschy
- Re: [ANN] Lua 5.2.1 (work1) now available, Miles Bader
- Re: [ANN] Lua 5.2.1 (work1) now available, Roberto Ierusalimschy
- Re: [ANN] Lua 5.2.1 (work1) now available, David Kolf
- Re: [ANN] Lua 5.2.1 (work1) now available, Roberto Ierusalimschy
- Re: [ANN] Lua 5.2.1 (work1) now available, Miles Bader
- Re: [ANN] Lua 5.2.1 (work1) now available, Petri Häkkinen