[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: No way to get uservalue count from API; intended?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 18 Aug 2020 14:07:46 -0300
> 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