Skip to main content

Module optimization

Module optimization 

Source
Expand description

Neutral runtime optimization policy and evidence vocabulary (spec 017).

These types describe behavior that is part of a plan and observations that belong to a run. They do not perform I/O or grant authority. This increment covers runtime-planned batching and bounded memory caching; concurrent duplicate suppression and persistent caching are later increments under the same spec.

Structs§

BatchPolicy
MemoryCachePolicy
Bounds apply to one plan’s cache namespace; no plan’s policy evicts another plan’s entries.
OptimizationPolicy
Plan-identified controls for reusable semantic work.
OptimizationRecord
Per-logical-request runtime observations. Secret key material and cached content are deliberately absent.

Enums§

BatchChargeAllocation
Deterministic settlement of one observed batch charge across its logical members. Member order is the runtime-recorded batch index order.
EvictionOrder
ExpiryBasis
OptimizationAdmission
OptimizationMechanism
OptimizationOutcome

Constants§

MAX_OPTIMIZATION_DIAGNOSTICS
Most diagnostics one request’s optimization record keeps. Later ones are dropped and the last kept entry says so.