-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
-
Evaluate whetherNot necessary since we do not use Leaf anymore.instanceofchecks are faster thanisLeaf()calls. - Rewrite
delete_caseXcascade to forward precomputed sibling. -
Find out whether dummy Leaf nodesNot necessary since we do not use Leaf anymore._colorfield can be removed. - 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_caseXcascade to forward precomputed grandparent, potentiall rewrittinguncle = (n) => _uncle(n, grandparent(n)); - Break tail recursion of delete_caseX and insert_caseX cascades somehow.