Skip to content

Profile #101

Open
Open
@make-github-pseudonymous-again

Description

  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions