Documentation
¶
Overview ¶
Package overflow is the session-layer view of the compaction budget.
The arithmetic lives in internal/engine/calc, where the engine already consumes this module's decisions. Type aliases keep both call sites on one implementation.
Index ¶
Constants ¶
View Source
const PolicyWindow = calc.PolicyWindow
Variables ¶
This section is empty.
Functions ¶
func EffectiveInputCapacity ¶
func EffectiveInputCapacity(input UsableInput) float64
func IsOverflow ¶
func IsOverflow(input OverflowInput) bool
func ValidatePolicy ¶
Types ¶
type CompactionConfig ¶
type CompactionConfig = calc.CompactionConfig
type CompactionWatermarks ¶
type CompactionWatermarks = calc.CompactionWatermarks
func Watermarks ¶
func Watermarks(input UsableInput) CompactionWatermarks
type ModelLimit ¶
type ModelLimit = calc.ModelLimit
type OverflowInput ¶
type OverflowInput = calc.OverflowInput
type TokenCache ¶
type TokenCache = calc.TokenCache
type UsableInput ¶
type UsableInput = calc.UsableInput
Click to show internal directories.
Click to hide internal directories.