3 ms·
>... This has the added benefit of sorting the values as well I don't think you can rely on this? Happy to be proven wrong, but set does not guarantee iteratio
by 5d8767c68926 4y ago
>... This has the added benefit of sorting the values as well
I don't think you can rely on this? Happy to be proven wrong, but set does not guarantee iteration order. There may be a distinction if all elements are available at set construction, but that seems like a fiddly rule I would rather avoid.