-
Notifications
You must be signed in to change notification settings - Fork 13k
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
implement a persistent self-balancing binary search tree #4987
Comments
nominating for backwards-compatible milestone |
This is part of |
I would like treemap to be in std, it's a completely normal container type, in many standard libraries and specs. |
accepted for backwards-compatible milestone |
What's the intended use case for fun_treemap? Should it be fully functional? I don't see why that's particularly useful since it cant be shared over task boundaries as @thestinger mentioned in #7212. Purely functional implementations also (I think) require O(log(n)) space overhead per copy, which is a bummer if the use case is to keep tons of generations around. If it's not going to be purely functional, should it be partially consistent or fully consistent? Traditional persistent maps appear to be useful in some computational geometry problems, but I'm not sure if that's really a common enough application to support in |
It could be written with |
This won't break backwards-compatibility. Clearing milestone. |
I'm pulling a massive triage effort to get us ready for 1.0. As part of this, I'm moving stuff that's wishlist-like to the RFCs repo, as that's where major new things should get discussed/prioritized. This issue has been moved to the RFCs repo: rust-lang/rfcs#649 |
This will need to be a different implementation than
TreeMap
- an efficient persistent tree is a different beast.The text was updated successfully, but these errors were encountered: