[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: ways to avoid (or speed up) luaL_checkudata() in LuaJIT2?
- From: Drake Wilson <drake@...>
- Date: Sun, 7 Nov 2010 09:49:37 -0700
Quoth Shawn Fox <shawnkfox@gmail.com>, on 2010-11-07 09:48:23 -0600:
> Rather than using upvalues, I store the metatable in the registry.
Careful where you store that ref. If you're using process-global space,
you've just broken loading your library into multiple Lua states in the
same process.
---> Drake Wilson