lua-users home
lua-l archive

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


Chris wrote:

Of course you could always create a new environment for every userdata
but this is extremely memory inefficient when only a few of the
objects actually need an environment.

Can you not create a single 'virgin environment' for those which haven't been re-assigned and detect them that way?