lua-users home
lua-l archive

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


> Is there a reason not to include the ability to read the number of
> uservalues associated with a userdata
> (lua_getiuservalue()/lua_setiuservalue()) into the API?

No specific reason except the usual (to avoid bloating the API with
functions seldom used.)


> That would
> allow a slightly more efficient tuple implementation, among other
> things...

Would you mind sharing with us that implementation and the other things?

-- Roberto