lua-users home
lua-l archive

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

On Sep 10, 2013, at 12:05 AM, William Ahern <> 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?