4 ms·
tl;dr: arrays, dictionaries, ordered dictionaries (lists, sets and so on) are all different classes of data structures with different properties. To be efficien
by drdaeman 15y ago
tl;dr: arrays, dictionaries, ordered dictionaries (lists, sets and so on) are all different classes of data structures with different properties. To be efficient one should chose best one, not rely on some "all included" generic datatype.