lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

> 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

-- Danilo