[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: equal tag method [was Re: unicode and locale again]
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 02 Jul 2002 09:59:06 -0300
> 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