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

Implement single-value removal #4

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Implement single-value removal #4

wants to merge 1 commit into from

Conversation

sharnoff
Copy link
Member

PR currently represents partial progress. Single-value removal is basically required to finish the remaining bits of the insertion implementation (i.e., handle_join_deletion).

There's some annoying problems that still need to be resolved here. Basically, removal can leave the tree in an invalid state (maybe?), and we need to be really careful about making sure that either:

  1. panics during invalid states don't cause memory issues, or
  2. operations that can panic are only called during valid states

Both are tricky -- not sure which one is better yet.

There's some annoying problems that still need to be resolved here.
Basically, removal can leave the tree in an invalid state (maybe?), and
we need to be really careful about making sure that either:
 (a) panics during invalid states don't cause memory issues, or
 (b) operations that can panic are only called during valid states
Both are tricky -- not sure which one is better.
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

Successfully merging this pull request may close these issues.

1 participant