Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TreeNodeDynamicSize impl part 10 - overwriteKeyInternal
Dynamic size TreeNode can now replace keys. This is done by either simply overwriting old key with new if sizes are equal or removing old key and inserting new. This can cause overflow and split in internal and that is handled. Include (TreeNodeDynamicSize) `removeKeyAndChild` now update deadspace correctly (TreeNodeDynamicSize) implement `setKeyAtInternal` (TreeNodeDynamicSize) `internalOverflow` also consider deadspace Also (ConsistencyChecker) Better resilience for null in range (InternalTreeLogic) `overwriteKeyInternal` (TreeNode) make `defragmentInternal` package private (TreeNode) setKeyAt is explicit for internal nodes (TreeNode) `internalOverflow` return `Overflow`
- Loading branch information
Showing
9 changed files
with
180 additions
and
62 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
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
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
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
Oops, something went wrong.