Skip to content

Evaluate Stream in parallel #1

@fmcarvalho

Description

@fmcarvalho

Analyze how many items must we have in a source stream to get advantage of parallel feature in a costumed Stream with the zip()operation.

To that end, we must provide a different zip() implementation able to partition both argument Streams with equal sizes. This one https://stackoverflow.com/a/46230233/1140754 should parallelize.

Despite some claims a bout the inefficiency of Stream parallel feature there are few evidences with benchmarks foundations. http://coopsoft.com/ar/Calamity2Article.html

The every and find pipelines are good use cases to explore how many items must we have in a Stream to get a speedup over the sequential processing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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