Skip to content
API REFERENCEUsage guides →

cellpack::opt::InputCost ​

struct

Module contract · All interfaces

At a glance ​

pub struct InputCost {
    pub decode: f64,
    pub decode_element: f64,
    pub cold: f64,
}

Decoding records: core-seconds per record, per stored element and per record whose chunk is cold.

Fields and variants ​

decode ​

decode: f64

Per decoded record.

decode_element ​

decode_element: f64

Per stored element decoded.

cold ​

cold: f64

Per decoded record whose chunk is not among the few most recently used (its decode tables and column map are cold).

Implemented traits ​

impl Clone for InputCost
impl Debug for InputCost
impl<'de> Deserialize<'de> for InputCost

Contract reference ​

See the module reference for semantic input/output rules, units, allocation, mutation, failure behavior, and lifetime requirements. Declarations and documented members are synchronized from the crate source.

Definition