[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Set class (was Microlight)
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 21 Feb 2012 15:27:49 +0200
On Tue, Feb 21, 2012 at 2:56 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> It's attached. Since it is only proof-of-concept I have not bothered to do
> the other set metamethods (__sub, __mul, __le, __lt, __eq, …)
It does do the job. There is naturally some indirection involved,
which may or may not be a performance issue.
Sets as plain-jane Lua tables like {alpha=1,beta=2} remain attractive,
since there's no magic wrapper needed.
So, Jay suggests maybe mlc becomes the home of a few utility classes?
Any other candidates?
steve d.