-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For ranges of discrete data types, this patch will attempt to coalesce ranges as they are added to a subarray. Ranges will be coalesced with the last existing range if they form a contiguous raange. Additionally, this introduces `bool Subarray::coalesce_ranges_` which controls whether or not the instance will attempt to coalesce ranges as they are added. This is on by default, but exists as a way for unit tests to disable them. The motiviation it prevent the need for immediately refactoring all of the hard-coded ranges in the subpartitioner unit tests. Subarrays split or cropped from an existing subarray will be use the same coalescing behavior as the parent. Co-authored-by: Joe Maley <[email protected]>
- Loading branch information
joe maley
and
Joe Maley
authored
Aug 10, 2020
1 parent
4878ae6
commit 4728b34
Showing
10 changed files
with
329 additions
and
47 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
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.