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.
Implement
IntoParallelIteratorfor fixed sized arrays up to a size (?). In particular I found it to be useful to avoid an allocation in aflat_map, e.g.:I'm happy to submit a PR unless there's a reason not to do it.