Skip to content

Conversation

cuviper
Copy link
Member

@cuviper cuviper commented Aug 17, 2020

pub trait ParallelSlice<T: Sync> {
    fn par_array_windows<const N: usize>(&self) -> ArrayWindows<'_, T, N>;
    fn par_array_chunks<const N: usize>(&self) -> ArrayChunks<'_, T, N>;
}
pub trait ParallelSliceMut<T: Send> {
    fn par_array_chunks_mut<const N: usize>(&mut self) -> ArrayChunksMut<'_, T, N>;
}

@cuviper cuviper force-pushed the array_chunks branch 2 times, most recently from 95c3f6c to b43b311 Compare February 25, 2021 22:15
@cuviper cuviper force-pushed the array_chunks branch 2 times, most recently from d4dd19e to 218cb66 Compare March 26, 2021 20:20
Copy link
Member

@nikomatsakis nikomatsakis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good!

@cuviper
Copy link
Member Author

cuviper commented Apr 1, 2021

My only hesitation is to wait for std stabilization: rust-lang/rust#74985 and rust-lang/rust#75027

@pittengermd
Copy link

Any update on when this pull request might be merged? I would love to use this for video format conversion.

@cuviper
Copy link
Member Author

cuviper commented Feb 7, 2022

I'm still hoping std will settle its API, so we can be consistent in how we replicate it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants