pub struct JitConfig {
pub compilation_threshold: usize,
pub max_cache_size: usize,
pub aggressive_opts: bool,
pub target_features: TargetFeatures,
pub enable_result_cache: bool,
pub result_cache_size: usize,
pub result_cache_ttl: Duration,
pub enable_adaptive_optimization: bool,
pub enable_pattern_optimizers: bool,
}Expand description
JIT compiler configuration
Fields§
§compilation_threshold: usizeMinimum executions before JIT compilation
max_cache_size: usizeMaximum cache size in bytes
aggressive_opts: boolEnable aggressive optimizations
target_features: TargetFeaturesTarget CPU features
enable_result_cache: boolEnable result caching
result_cache_size: usizeResult cache size (number of queries)
result_cache_ttl: DurationResult cache TTL
enable_adaptive_optimization: boolEnable adaptive optimization
enable_pattern_optimizers: boolEnable pattern-specific optimizers
Trait Implementations§
Auto Trait Implementations§
impl Freeze for JitConfig
impl RefUnwindSafe for JitConfig
impl Send for JitConfig
impl Sync for JitConfig
impl Unpin for JitConfig
impl UnsafeUnpin for JitConfig
impl UnwindSafe for JitConfig
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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