Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: reverse method for OrderedDicts #56

Open
bramtayl opened this issue Sep 28, 2020 · 2 comments
Open

Feature request: reverse method for OrderedDicts #56

bramtayl opened this issue Sep 28, 2020 · 2 comments

Comments

@bramtayl
Copy link

No description provided.

@bramtayl
Copy link
Author

I could be convinced to do a PR

@PallHaraldsson
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants