[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: The Lua C API
- From: Reuben Thomas <rrt@...>
- Date: Thu, 30 Aug 2001 11:37:05 +0100 (BST)
> > 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...
Apologies, my brain was not connected to my fingers. Ignore the
rubbish above.
--
http://sc3d.org/rrt/ | RSA, n. safety in numbers