pub struct ControlFlowConfig {
pub min_ops: u32,
pub max_length_ratio: f64,
pub posting_cap: usize,
pub pair_budget: usize,
}Expand description
Tuning for control-flow candidate generation.
Fields§
§min_ops: u32Units whose skeleton holds fewer operations than this are not indexed.
max_length_ratio: f64Largest ratio of unit sizes (in nodes) a pair may span.
posting_cap: usizeLongest posting list that still enters pairing; longer ones are dropped as common structure and counted.
pair_budget: usizeUpper bound on candidate pairs emitted.
Trait Implementations§
Source§impl Clone for ControlFlowConfig
impl Clone for ControlFlowConfig
Source§fn clone(&self) -> ControlFlowConfig
fn clone(&self) -> ControlFlowConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ControlFlowConfig
impl Debug for ControlFlowConfig
Source§impl Default for ControlFlowConfig
impl Default for ControlFlowConfig
Source§impl PartialEq for ControlFlowConfig
impl PartialEq for ControlFlowConfig
impl StructuralPartialEq for ControlFlowConfig
Auto Trait Implementations§
impl Freeze for ControlFlowConfig
impl RefUnwindSafe for ControlFlowConfig
impl Send for ControlFlowConfig
impl Sync for ControlFlowConfig
impl Unpin for ControlFlowConfig
impl UnsafeUnpin for ControlFlowConfig
impl UnwindSafe for ControlFlowConfig
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