[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Pre-compiling with luaL_loadbuffer
- From: Pavel Antokolsky aka Zigmar <zigmar@...>
- Date: Fri, 3 Jun 2005 20:44:40 +0200
On 6/3/05, vol-lua@kokezaru.net <vol-lua@kokezaru.net> wrote:
> Which would execute faster?
> Storing the function in a table, or simply creating
> a global function?
I guess there will be no difference, because "global" funtions are not
exactly global, they are just regular functions stored in global
enviroment table, and also accessed throuth it.
--
Best regards,
Zigmar