R
Robert Bossy
Hi,
I wish to know how two dict objects are compared. By browsing the
archives I gathered that the number of items are first compared, but if
the two dict objects have the same number of items, then the comparison
algorithm was not mentioned.
Note that I'm not trying to rely on this order. I'm building a
domain-specific language where there's a data structure similar to
python dict and I need an source of inspiration for implementing
comparisons.
Thanks
RB
I wish to know how two dict objects are compared. By browsing the
archives I gathered that the number of items are first compared, but if
the two dict objects have the same number of items, then the comparison
algorithm was not mentioned.
Note that I'm not trying to rely on this order. I'm building a
domain-specific language where there's a data structure similar to
python dict and I need an source of inspiration for implementing
comparisons.
Thanks
RB