>glen herrmannsfeldt wrote:>> Equality comparisons check both the Object reference and offset,>> inequalities, at least in C, only need to compare the offset.>>Incorrect.

I think you have just misunderstood glen herrmannsfeldt's terminology.
By "inequalities", glen herrmannsfeldt no doubt meant the C operators
">", ">=", "<" and "<=", which correspond to those operators in
mathematics that are often known by mathematicians as "inequalities",
not the C "!=" operator. His terminology was admittedly confusing.
It would have been much clearer to follow the terminology used in the
C standard and to therefore describe these operators as "relational"
operators. But nevertheless what he said was correct, presuming you
interpret "inequalities" in the mathematical sense.
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
[It's correct if you're using the conventions for x86 large model segmented
code. But I hope it's gone for good. -John]