pub struct SyntheticShape {Show 13 fields
pub air_name: String,
pub log_height: usize,
pub preprocessed_width: usize,
pub cached_main_widths: Vec<usize>,
pub common_main_width: usize,
pub after_challenge_widths: Vec<usize>,
pub num_constraints: usize,
pub num_interactions: usize,
pub num_distinct_buses: usize,
pub max_constraint_degree: usize,
pub interaction_message_lens: Vec<usize>,
pub interaction_count_weights: Vec<u32>,
pub occurrences: usize,
}Expand description
One entry in a shape atlas — shape statistics for a single AIR
observed in the captured profile, deduplicated and counted by
scripts/analyze_profile.py.
Fields§
§air_name: String§log_height: usize§preprocessed_width: usize§cached_main_widths: Vec<usize>§common_main_width: usize§after_challenge_widths: Vec<usize>§num_constraints: usize§num_interactions: usize§num_distinct_buses: usize§max_constraint_degree: usize§interaction_message_lens: Vec<usize>Per-interaction message length. Schema v2 atlases populate this; older atlases leave it empty and a heuristic is used.
interaction_count_weights: Vec<u32>Per-interaction count_weight (logup soundness param).
Schema v2 atlases populate this; older atlases leave it empty.
occurrences: usizeTrait Implementations§
Source§impl Clone for SyntheticShape
impl Clone for SyntheticShape
Source§fn clone(&self) -> SyntheticShape
fn clone(&self) -> SyntheticShape
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 SyntheticShape
impl Debug for SyntheticShape
Source§impl<'de> Deserialize<'de> for SyntheticShape
impl<'de> Deserialize<'de> for SyntheticShape
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SyntheticShape
impl RefUnwindSafe for SyntheticShape
impl Send for SyntheticShape
impl Sync for SyntheticShape
impl Unpin for SyntheticShape
impl UnsafeUnpin for SyntheticShape
impl UnwindSafe for SyntheticShape
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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