Skip to content

_Parallel_choose_min_chunk - typo? #2345

Discussion options

You must be logged in to vote

The difference is that find_end_backward uses _Static_partition_range_backward, which partitions the range from the end to the beginning - backward - instead of from the beginning to the end. That way chunks with smaller ids are near the end of the range and will be processed first, which enables us to potentially cancel processing of chunks with bigger ids / toward the beginning of the range. (No need to apologize, this is fairly subtle.)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mikekazakov
Comment options

Answer selected by mikekazakov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants