lua-users home
lua-l archive

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


On Sat, Nov 6, 2010 at 09:48, liam mail <liam.list@googlemail.com> wrote:
>>
> In my experience lua_getmetatable and luaL_checkudata in Lua (not checked
> with LuaJit) are bottlenecks, which I have gone out of my way to avoid.

I think that  lua_getmetatable is just fine. It is luaL_getmetatable
that can become a bottleneck due to its string allocations via
luaS_newlstr.

--Leo--