pub struct ParallelVectorOptions {
pub use_parallel: bool,
pub parallel_threshold: usize,
pub chunk_size: usize,
pub use_simd: bool,
pub simd_threshold: usize,
}
Expand description
Configuration options for parallel vector operations
Fields§
§use_parallel: bool
Use parallel processing for operations
parallel_threshold: usize
Minimum vector length to trigger parallel processing
chunk_size: usize
Chunk size for parallel processing
use_simd: bool
Use SIMD acceleration
simd_threshold: usize
Minimum vector length to trigger SIMD processing
Trait Implementations§
Source§impl Clone for ParallelVectorOptions
impl Clone for ParallelVectorOptions
Source§fn clone(&self) -> ParallelVectorOptions
fn clone(&self) -> ParallelVectorOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ParallelVectorOptions
impl Debug for ParallelVectorOptions
Auto Trait Implementations§
impl Freeze for ParallelVectorOptions
impl RefUnwindSafe for ParallelVectorOptions
impl Send for ParallelVectorOptions
impl Sync for ParallelVectorOptions
impl Unpin for ParallelVectorOptions
impl UnwindSafe for ParallelVectorOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more