Some strategies that can be used:
Just call parallel transform:
replace_copy
replace_copy_if
Scans:
copy_if
partition_copy
remove_copy
remove_copy_if
unique
unique_copy
Same as serial nth_element but call the parallel partition op for large N:
Predicate tests (like all_of):
Summary statistics (like find / find_end):
min_element
max_element
minmax_element
Divide and conquer:
inplace_merge
stable_partition
Divide range1 into chunks, binary search to find matching range2 chunks, scan:
merge
set_symmetric_difference
set_union
Other:
Some strategies that can be used:
Just call parallel
transform:replace_copyreplace_copy_ifScans:
copy_ifpartition_copyremove_copyremove_copy_ifuniqueunique_copySame as serial
nth_elementbut call the parallel partition op for large N:nth_elementPredicate tests (like
all_of):lexicographical_compareSummary statistics (like
find/find_end):min_elementmax_elementminmax_elementDivide and conquer:
inplace_mergestable_partitionDivide range1 into chunks, binary search to find matching range2 chunks, scan:
mergeset_symmetric_differenceset_unionOther:
includes