[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Cons, tuple and __slots__ -- a simple mechanism to implement them in Lua
- From: Roberto Ierusalimschy <roberto@...>
- Date: Fri, 16 Sep 2011 16:39:44 -0300
> As you say, I need to take more attention to the garbage part of
> language :( I will try to understand it. But, what I most what to know
> is about this idea, can this idea be merge into Lua 5.2? Or any other
> implement of tuple (not only with userdata) can be merge to Lua 5.2?
> Is there any plans to do this? Just interesting with this topic :)
Currently we have no plans to add this to Lua. I guess other members of
the list already presented reasons for that.
(Note that it is already easy to implement tuples using C closures; see
PiL 2nd edition page 255.)
-- Roberto