[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: void* in Lua_State for Application?
- From: Tim Hill <drtimhill@...>
- Date: Tue, 10 Sep 2013 01:55:44 -0700
On Sep 10, 2013, at 12:05 AM, William Ahern <william@25thandClement.com> wrote:
> On Tue, Sep 10, 2013 at 02:58:31PM +0900, Miles Bader wrote:
>
> According to this test code for Lua 5.2, lightuserdata is actually faster.
> Upvalue loads are significantly faster, but the absolute costs are so
> incredibly miniscule as to be entirely unimportant.
>
> Here are the values for my test run:
>
It's pretty late here, but looking at your code isn't it always trying to get not-present values? If so, I'm not sure if this can be extended to Lua behavior when it gets values that are present in the Registry?
--Tim
- References:
- Re: void* in Lua_State for Application?, Emil Renner Berthing
- Re: void* in Lua_State for Application?, Tom N Harris
- Re: void* in Lua_State for Application?, Coda Highland
- Re: void* in Lua_State for Application?, Roberto Ierusalimschy
- Re: void* in Lua_State for Application?, Tim Hill
- Re: void* in Lua_State for Application?, Roberto Ierusalimschy
- Re: void* in Lua_State for Application?, Miles Bader
- Re: void* in Lua_State for Application?, William Ahern
- Re: void* in Lua_State for Application?, Miles Bader
- Re: void* in Lua_State for Application?, William Ahern