-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The changes in this commit are aiming to remove if statements to achieve better performance by producing less branches. Indirect pointers are used to store the pointer pointing to the left or right child node. So we would not need to check whether it is a right or left node.
- Loading branch information
1 parent
44028ea
commit 4a6bbc0
Showing
1 changed file
with
10 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters