3 ms·
> If this is useful, I wonder if an ordered set is useful. An ordered set is a unique list. It's useful. However it's not present in Python, dicts and sets hav
by masklinn 7y ago
> If this is useful, I wonder if an ordered set is useful.
An ordered set is a unique list. It's useful. However it's not present in Python, dicts and sets have separate implementations and sets were not moved over to the ordered implementation (because the ordering was initially a side-effect of a change in implementation which was not considered useful or advantageous for sets).
- 6gvONxR4sf7o 7y agoAn ordered multiset is a list, not an ordered set.