lua-users home
lua-l archive

Re: [PATCH] make light userdata a little bit heavier

[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.

AltStyle によって変換されたページ (->オリジナル) /