Skip to main content

Module resource

Module resource 

Source

Structs§

ByteLruCache
Byte-limited LRU cache with an optional entry cap.
MaterializationPolicy
ProblemHints
Hints that flip strict mode on regardless of n/p — used when a code path is structurally operator-only and any dense fallback would be a bug.
RayonSafeOnce
Lazy-init cache safe to call from inside rayon par_iter.
ResourcePolicy

Enums§

DerivativeStorageMode
MatrixMaterializationError

Constants§

OWNED_DATA_CACHE_MAX_ENTRIES
SPATIAL_DISTANCE_CACHE_MAX_BYTES
SPATIAL_DISTANCE_CACHE_SINGLE_ENTRY_MAX_BYTES
STRICT_POLICY_NROWS_THRESHOLD
Auto-strict triggers for ResourcePolicy::for_problem.
STRICT_POLICY_P_THRESHOLD

Traits§

ResidentBytes

Functions§

rows_for_target_bytes
Returns how many rows to stream per chunk so that each chunk uses approximately target_bytes given a row width of cols f64 entries.