[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: Detecting an "empty" script?
- From: "Danilo Tuler" <tuler@...>
- Date: Thu, 21 Aug 2003 15:56:31 -0300
> When instantiated each widget has about 10
> lua stub scripts pre-assigned to them.
Is this really necessary?
> I expect that at most 1 in 20 scripts will actually get
> defined by the user and so it'll be a huge savings to release
> the memory of the other 19.
Those 19 handlers should be nil.
> So, I'm looking to definitively determine if a script does any work
It's hard to define 'work'.
You should trust your user. If he decides to write a handler assume it does