Feature request: reverse method for OrderedDicts
bramtayl opened this issue · 2 comments
bramtayl commented
Feature request: reverse method for OrderedDicts
bramtayl commented
I could be convinced to do a PR
PallHaraldsson commented
I'm probably not going to add this myself, but I am looking into adding OrderedDict into Base (or some such Dict, there's e.g. OrderedRobinDict).
I did look into what Python does, and they say they do use doubly-linked lists. I'm not sure that's needed, neither for reverse, or to delete/insert. They do have ordered now by default, why they added this, but I think there's another way.