3 ms·
OrderedDict is ordered by order of insertion, TreeMap is ordered by key value.
by detaro 8y ago
OrderedDict is ordered by order of insertion, TreeMap is ordered by key value.
- karmakaze 8y agoLogically equivalent to LinkedHashMap, thought it was the other. I should use Python more often.