lua-users home
lua-l archive

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


On Tue, Feb 21, 2012 at 5:05 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> How would you define the union of {alpha=1,beta=2} and {alpha='a',beta='b'}?

Good point; although in my slapdash way I would say that the 'values
do not matter'.

Yes, a Set as something abstracted away from its naive representation
does make sense, and here Lua 5.2 is providing the means for more
abstraction.

But I would be interested in the performance implications.

steve d.