lua-users home
lua-l archive

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


> You wouldn't be asking for 3 examples where one would want '==' to carry
> the semantics of logical equality (e.g. bitwise) for two objects instead
> of the semantics of being 'equal by identity' (e.g. address in memory),
> would you?

No, I'm asking three examples where objects do have a logical equality
but nevertheless you want to test for identity (and you want it fast, so
that you cannot afford a function call).

-- Roberto