Skip to content

impl IntoParallelIterator for fixed sized arrays #478

@mcobzarenco

Description

@mcobzarenco

ImplementIntoParallelIterator for fixed sized arrays up to a size (?). In particular I found it to be useful to avoid an allocation in a flat_map, e.g.:

    .flat_map(|value| {
        [
            value.foo(),
            value.bar(),
        ].to_vec()
    })

I'm happy to submit a PR unless there's a reason not to do it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions