4 ms·
> a Python set type is basically a naked hash table, or a dictionary with all keys and no data. Not exactly. Dicts, as you say, are ordered - but sets are not.
by pansa2 6y ago
> a Python set type is basically a naked hash table, or a dictionary with all keys and no data.
Not exactly. Dicts, as you say, are ordered - but sets are not.