This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge successive non-leaf blocks resulting from untab
Summary: When untab results in two consecutive non-leaf blocks of the same type, it causes various bugs & issues on certain further operations. - Implement an operation to merge two consecutive blocks in the block map by adding all the children of the next block to the given (previous) block & removing the next block. - Use this operation during untab for the case where children were moved up & there are two consecutive non-leaf blocks (see before & after videos in test plan) Merge operation: https://pxl.cl/hsS9 Untab resulting in merge: https://pxl.cl/hsSg (these two examples are implemented as tests ) Reviewed By: vdurmont Differential Revision: D9834729 fbshipit-source-id: 5352763266e3b5fbb030b329015298bd669a4a4f
- Loading branch information
1 parent
0cb3804
commit 36e588a
Showing
6 changed files
with
618 additions
and
0 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.