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

Add-in-Place / Garbage Collection #86

Closed
bifurcation opened this issue Jan 13, 2019 · 1 comment · Fixed by #84
Closed

Add-in-Place / Garbage Collection #86

bifurcation opened this issue Jan 13, 2019 · 1 comment · Fixed by #84
Assignees
Milestone

Comments

@bifurcation
Copy link
Collaborator

Currently, the tree only ever grows:

  • When you add someone, you have to add them at the right edge, even if there are blank leaves
  • When you remove someone, the tree never shrinks

We should enable reclaiming of blank leaves and automatically reduce the size of the tree to the minimum necessary size.

@bifurcation
Copy link
Collaborator Author

After discussion at 2019-01 interim: Agreement that this seems OK as long as we can verify that the tree invariant holds when you truncate the tree.

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

Successfully merging a pull request may close this issue.

2 participants