Skip to main content

DEFAULT_SCRATCH_BUDGET

Constant DEFAULT_SCRATCH_BUDGET 

Source
pub const DEFAULT_SCRATCH_BUDGET: usize = _; // 67_108_864usize
Expand description

Upper bound on transient scratch for scatter-direction products, in bytes.

Exceeding this trades an extra pass over the sparse indices for a smaller footprint. 64 MiB keeps the accumulators comfortably inside last-level cache pressure on typical machines while still amortising index reads over many columns.