lua-users home
lua-l archive

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

On Saturday, September 14, 2013, Tim Hill wrote:

On Sep 14, 2013, at 9:49 AM, Marc Lepage <> wrote:

> Thanks for your suggestions.
> I am aware of the technique of using a proxy table, a shadow table to hold values and subscribers, and a metatable to intercept gets/sets to perform notifications. That's what I'm doing now.
> What I'm wondering is if there is a way to use the information already present in the runtime to infer the subscribers, instead of explicitly storing them. It seems there is not, but if there were, it could simplify this technique.

Weird. I don't know how I missed this. I couldn't find it in this thread and only found it in the quotes text from Tim. 

Anyway, sorry for the noise. I guess that's why nobody already suggested it n