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

convert Diet into a balanced tree. #20

Open
anicolaspp opened this issue Feb 16, 2016 · 2 comments
Open

convert Diet into a balanced tree. #20

anicolaspp opened this issue Feb 16, 2016 · 2 comments
Assignees
Milestone

Comments

@anicolaspp
Copy link
Contributor

I found that Scalaz Diev has lower inserts/deletions than our Diet, but is quite faster in searches. We can balance Diet so we improve search, yet, it might compromise inserts/deletions.

The original Diet paper doesn't talk about balancing it out, but will it be something we should consider?

@anicolaspp
Copy link
Contributor Author

I was wrong, it is the other way around. Still, it might be a good idea to balance Diet?

@larsrh larsrh added this to the Backlog milestone Sep 24, 2018
@j-mie6
Copy link

j-mie6 commented Sep 13, 2023

I have an implementation of a Diet in Haskell here: https://github.com/j-mie6/rangeset

It has the balancing property, and also implements a faster union and intersection than the one Diet uses. Perhaps some of the ideas can be ported over? (I'd be willing to work on this if so). I have a draft paper that describes the implementation.

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

3 participants