reference comparision

Bjorn Gustavsson <>
Mon Aug 28 11:50:08 CEST 2006


"Lennart Ohman" <> writes:

> I do however not know how greater or less comparisons will work
> out. That is if the order will be done on node name (meaning
> that two references will always be sorted the same way regardless
> on which node the comparison is made), or if comparison will be
> made on the "node-pointer" which may very well be a numerically
> different number on two different nodes (having received the
> references from a third node).

The comparision is made on the node names, not their internal index.

/Bjorn

-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list