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

Profile #101

Open
3 of 6 tasks
make-github-pseudonymous-again opened this issue Mar 29, 2021 · 0 comments
Open
3 of 6 tasks

Profile #101

make-github-pseudonymous-again opened this issue Mar 29, 2021 · 0 comments
Labels

Comments

@make-github-pseudonymous-again
Copy link
Member

make-github-pseudonymous-again commented Mar 29, 2021

  • Evaluate whether instanceof checks are faster than isLeaf() calls. Not necessary since we do not use Leaf anymore.
  • Rewrite delete_caseX cascade to forward precomputed sibling.
  • Find out whether dummy Leaf nodes _color field can be removed. Not necessary since we do not use Leaf anymore.
  • Find out whether dummy Leaf nodes can be easily replaced by null (see I believe there is a way to get rid of explicit leaves without loosing the simplicity of the balancing operations. #104).
  • Rewrite insert_caseX cascade to forward precomputed grandparent, potentiall rewritting uncle = (n) => _uncle(n, grandparent(n));
  • Break tail recursion of delete_caseX and insert_caseX cascades somehow.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant