pub struct HotPath {
pub prefix_bindings: Vec<(String, LcnfLetValue, LcnfType, LcnfVarId)>,
pub hot_size: u64,
pub cold_size: u64,
}Fields§
§prefix_bindings: Vec<(String, LcnfLetValue, LcnfType, LcnfVarId)>§hot_size: u64§cold_size: u64Implementations§
Source§impl HotPath
impl HotPath
pub fn extract(decl: &LcnfFunDecl) -> Self
pub fn has_prefix(&self) -> bool
pub fn speedup_estimate(&self) -> f64
pub fn is_profitable(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HotPath
impl RefUnwindSafe for HotPath
impl Send for HotPath
impl Sync for HotPath
impl Unpin for HotPath
impl UnsafeUnpin for HotPath
impl UnwindSafe for HotPath
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