lua-users home
lua-l archive

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


On Sun, Dec 19, 2010 at 12:13 AM, Gaspard Bucher <gaspard@teti.ch> wrote:
> What is the performance impact of such an implementation ?

Well, about the same as needing an explicit method/function. Also, the
'payload' of the operation (the on-change event) might be quite
expensive (update a GUI, write to a log) so the performance loss would
not be significant.

BTW, probably better to only trigger on-change when the value actually changes.

steve d.