[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Redefining symbols, functions, etc.
- From: "Ashwin Hirschi" <deery@...>
- Date: Wed, 21 Jul 2004 18:24:00 +0200
I'm running a bunch of scripts at user-initiated times all in the same Lua
state. Many of these load other scripts in order to access common
As Rici pointed out, Lua will pretty much handle things the way you'd like it to.
But, instead of reloading the same stuff over & over again and worrying about performance, why not simply keep better track of what's loaded into your state?
Using require (or a require-like mechanism) could prevent most of the reloading/redefining, I think.
no signature is a signature.