lua-users home
lua-l archive

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


2014-04-20 13:50 GMT+02:00 Peng Zhicheng <pengzhicheng1986@gmail.com>:

> I feel it too much overhead using the full userdata just to pass some opaque
> values, and I need to set a per-instance metatable everytime I produced that
> value.

Given that you will have a metatable per instance, please explain (more
concisely than the original post please) just how much overhead relative
to a full userdata you think you are saving.