JuliaCollections/OrderedCollections.jl

Feature request: reverse method for OrderedDicts

bramtayl opened this issue · 2 comments

Feature request: reverse method for OrderedDicts

I could be convinced to do a PR

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.