lua-users home
lua-l archive

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

On Tue, Feb 21, 2012 at 2:56 PM, Dirk Laurie <> 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.