Skip to content

<execution>: Parallelize more algorithms #7

@BillyONeal

Description

@BillyONeal

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:

  • nth_element

Predicate tests (like all_of):

  • lexicographical_compare

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:

  • includes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions