pub struct SimdZeroCopyConfig {
pub max_depth: usize,
pub enable_simd: bool,
pub buffer_pool_config: Option<PoolConfig>,
pub simd_threshold: usize,
pub track_memory_usage: bool,
}
Expand description
Configuration for SIMD zero-copy parser
Fields§
§max_depth: usize
Maximum nesting depth for safety
enable_simd: bool
Enable SIMD acceleration when available
buffer_pool_config: Option<PoolConfig>
Buffer pool configuration
simd_threshold: usize
Minimum size for SIMD processing
track_memory_usage: bool
Enable memory usage tracking
Implementations§
Source§impl SimdZeroCopyConfig
impl SimdZeroCopyConfig
Sourcepub fn high_performance() -> Self
pub fn high_performance() -> Self
Configuration optimized for maximum performance
Sourcepub fn low_memory() -> Self
pub fn low_memory() -> Self
Configuration for memory-constrained environments
Trait Implementations§
Source§impl Clone for SimdZeroCopyConfig
impl Clone for SimdZeroCopyConfig
Source§fn clone(&self) -> SimdZeroCopyConfig
fn clone(&self) -> SimdZeroCopyConfig
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 SimdZeroCopyConfig
impl Debug for SimdZeroCopyConfig
Auto Trait Implementations§
impl Freeze for SimdZeroCopyConfig
impl RefUnwindSafe for SimdZeroCopyConfig
impl Send for SimdZeroCopyConfig
impl Sync for SimdZeroCopyConfig
impl Unpin for SimdZeroCopyConfig
impl UnwindSafe for SimdZeroCopyConfig
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