7 ms·
If the objects are not guaranteed to be in order, I would always consider them unordered. You could if both the producer and consumer are ordered, but as the OP
by shortercode 7y ago
If the objects are not guaranteed to be in order, I would always consider them unordered. You could if both the producer and consumer are ordered, but as the OP noted this can cause problems later on and for no good reason. I'd use an array of key-value tuples if I wanted it to be ordered.
- al_form2000 7y agoUh, "no good reason" in this case means "I unchecked the box and nothing bad happened right away" which amounts to shallow analysis, to put it gently.
- Piskvorrr 7y agoThat was a twist ending, indeed. I was expecting a resolution, not "I gave it a good whack and guess what, that fixed it."