lua-users home
lua-l archive

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


> 	lua_dostring(L,"f()");
> 
> is equivalent to
> 
> 	lua_getglobal(L,"f");
> 	lua_call(L,0,0);
> 
> and this last version is faster.

...which begs the question why the former isn't implemented as the
latter...

-- 
http://sc3d.org/rrt/ | plagiarism, n.  the mind burgles