3 ms·
...which is why it's generally desirable for unequal things to never compare equal. Stability is about preserving the order of items that compare equally. That
by crazygringo 5y ago
...which is why it's generally desirable for unequal things to never compare equal.
Stability is about preserving the order of items that compare equally. That's a different topic.
I'm talking about it being desirable not to underspecify the comparison function (sorting rules), so that unequal items are never compared as equal.