[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: The Lua interpreter and large scripts
- From: Sean Conner <sean@...>
- Date: Wed, 11 Nov 2009 02:25:59 -0500
It was thus said that the Great Daniel Stephens once stated:
> According to your email you say:
>
> show.lua -> default.lua 16 seconds
> show.lua 12 seconds
> default.lua 6 minutes
>
> Which makes me think that in the FIRST example, default.lua isn't
> running at all.
First example was running the Lua interpreter, and typing
dofile("show.lua")
dofile("default.lua")
Second example was running the Lua interpreter with the "-i" option
loading up default.lua, then typing
dofile("show.lua")
Third example was running the Lua interpreter with the "-i" option loading
up show.lua, then typing
dofile("default.lua")
It was the third example that took six minutes.
-spc