Expand description
Memory entry pruning — removes weak or stale entries to keep the store compact.
Constants§
- DEFAULT_
MIN_ STRENGTH - Default minimum strength below which entries are prunable.
Functions§
- default_
min_ age - Default minimum age before an entry can be pruned (24 hours).
- prune_
weak_ entries - Prune memory entries whose strength has decayed below a threshold and are older than a minimum age.