3 ms·
What java calls linkedhashmap, Python calls ordereddict. It's not quite as old as java's linkedhashmap but is no spring chicken either (it's a bit above 10 yea
by masklinn 7y ago
What java calls linkedhashmap, Python calls ordereddict.
It's not quite as old as java's linkedhashmap but is no spring chicken either (it's a bit above 10 years old).
- dehrmann 7y agoWhere's orderedset, though?
- masklinn 7y agoNowhere because so far the core team has remained unconvinced. People have brought up replacing standard set implementation by a variant of dict's (even expressing surprise that that wasn't already the case) but no dice yet. There are discussions on the subject on python-dev once in a while e.g. https://mail.python.org/pipermail/python-dev/2019-February/156466.html https://mail.python.org/pipermail/python-dev/2019-February/1...