Skip to main content

EvalConfig

Struct EvalConfig 

Source
pub struct EvalConfig {
Show 33 fields pub enable_parallel: bool, pub max_threads: Option<usize>, pub max_vertices: Option<usize>, pub max_eval_time: Option<Duration>, pub max_memory_mb: Option<usize>, pub default_sheet_name: String, pub case_sensitive_names: bool, pub case_sensitive_tables: bool, pub workbook_seed: u64, pub volatile_level: VolatileLevel, pub deterministic_mode: DeterministicMode, pub range_expansion_limit: usize, pub max_open_ended_rows: u32, pub max_open_ended_cols: u32, pub stripe_height: u32, pub stripe_width: u32, pub enable_block_stripes: bool, pub spill: SpillConfig, pub use_dynamic_topo: bool, pub pk_visit_budget: usize, pub pk_compaction_interval_ops: u64, pub max_layer_width: Option<usize>, pub pk_reject_cycle_edges: bool, pub sheet_index_mode: SheetIndexMode, pub warmup: WarmupConfig, pub arrow_storage_enabled: bool, pub delta_overlay_enabled: bool, pub write_formula_overlay_enabled: bool, pub max_overlay_memory_bytes: Option<usize>, pub date_system: DateSystem, pub formula_parse_policy: FormulaParsePolicy, pub defer_graph_building: bool, pub enable_virtual_dep_telemetry: bool,
}
Expand description

Configuration for the evaluation engine

Fields§

§enable_parallel: bool§max_threads: Option<usize>§max_vertices: Option<usize>§max_eval_time: Option<Duration>§max_memory_mb: Option<usize>§default_sheet_name: String

Default sheet name used when no sheet is provided.

§case_sensitive_names: bool

When false, resolve defined names case-insensitively (ASCII only).

This matches Excel behavior for defined names.

§case_sensitive_tables: bool

When false, resolve table names case-insensitively (ASCII only).

This matches Excel behavior for native table (ListObject) names.

§workbook_seed: u64

Stable workbook seed used for deterministic RNG composition

§volatile_level: VolatileLevel

Volatile granularity for RNG seeding and re-evaluation policy

§deterministic_mode: DeterministicMode

Deterministic evaluation configuration (clock/timezone injection).

§range_expansion_limit: usize

Ranges with size <= this limit are expanded into individual Cell dependencies

§max_open_ended_rows: u32

Fallback maximum row bound for open-ended references (e.g. A:A, A1:A).

This is only used when used-bounds cannot be determined.

§max_open_ended_cols: u32

Fallback maximum column bound for open-ended references (e.g. 1:1, A1:1).

This is only used when used-bounds cannot be determined.

§stripe_height: u32

Height of stripe blocks for dense range indexing

§stripe_width: u32

Width of stripe blocks for dense range indexing

§enable_block_stripes: bool

Enable block stripes for dense ranges (vs row/column stripes only)

§spill: SpillConfig

Spill behavior configuration (conflicts, bounds, buffering)

§use_dynamic_topo: bool

Use dynamic topological ordering (Pearce-Kelly algorithm)

§pk_visit_budget: usize

Maximum nodes to visit before falling back to full rebuild

§pk_compaction_interval_ops: u64

Operations between periodic rank compaction

§max_layer_width: Option<usize>

Maximum width for parallel evaluation layers

§pk_reject_cycle_edges: bool

If true, reject edge insertions that would create a cycle (skip adding that dependency). If false, allow insertion and let scheduler handle cycles at evaluation time.

§sheet_index_mode: SheetIndexMode

Sheet index build strategy for bulk loads

§warmup: WarmupConfig

Warmup configuration for global pass planning (Phase 1)

§arrow_storage_enabled: bool

Enable Arrow-backed storage reads (Phase A)

§delta_overlay_enabled: bool

Enable delta overlay for Arrow sheets (Phase C)

§write_formula_overlay_enabled: bool

Mirror formula scalar results into Arrow overlay for Arrow-backed reads This enables Arrow-only RangeView correctness without Hybrid fallback.

§max_overlay_memory_bytes: Option<usize>

Optional memory budget (in bytes) for formula/spill computed Arrow overlays.

When set, the engine will compact computed overlays into base lanes when the estimated usage exceeds this cap.

§date_system: DateSystem

Workbook date system: Excel 1900 (default) or 1904.

§formula_parse_policy: FormulaParsePolicy

Policy for malformed formulas encountered during ingest/graph-build.

§defer_graph_building: bool

Defer dependency graph building: ingest values immediately but stage formulas for on-demand graph construction during evaluation.

§enable_virtual_dep_telemetry: bool

Enable virtual dependency convergence telemetry collection.

When disabled, the engine avoids per-pass timing/edge-count bookkeeping.

Implementations§

Source§

impl EvalConfig

Source

pub fn with_range_expansion_limit(self, limit: usize) -> Self

Source

pub fn with_parallel(self, enable: bool) -> Self

Source

pub fn with_block_stripes(self, enable: bool) -> Self

Source

pub fn with_case_sensitive_names(self, enable: bool) -> Self

Source

pub fn with_case_sensitive_tables(self, enable: bool) -> Self

Source

pub fn with_arrow_storage(self, enable: bool) -> Self

Source

pub fn with_delta_overlay(self, enable: bool) -> Self

Source

pub fn with_formula_overlay(self, enable: bool) -> Self

Source

pub fn with_date_system(self, system: DateSystem) -> Self

Source

pub fn with_formula_parse_policy(self, policy: FormulaParsePolicy) -> Self

Source

pub fn with_virtual_dep_telemetry(self, enable: bool) -> Self

Trait Implementations§

Source§

impl Clone for EvalConfig

Source§

fn clone(&self) -> EvalConfig

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for EvalConfig

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for EvalConfig

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> Allocation for T
where T: RefUnwindSafe + Send + Sync,