[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.3.1 (rc1) now available
- From: Javier Guerra Giraldez <javier@...>
- Date: Wed, 3 Jun 2015 09:17:24 -0500
On Wed, Jun 3, 2015 at 8:55 AM, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
> - cache for 'lua_pushstring'
does this mean that now we can use small constant strings from C as
freely as from Lua?
repeatedly interning strings like "ready", "cancel", or so can be a
significant overhead; but from Lua all these are already interned. in
some cases, i've resorted to put those string in the registry, so i
can use lua_rawgeti() to get the string instead of simply pushing it.
--
Javier