Skip to content

Commit e70cbd3

Browse files
make even more adaptive (#4)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes * **New Features** * Self-tuning frequency-based eviction with adaptive learning signals * Ghost entries for improved scan resistance * Capacity-driven configuration approach * **API Changes** * New `AverageLearnedThresholds()` method to retrieve adaptive thresholds * Introduced `ConfigFromCapacity()` and `ConfigFromMemorySize()` factory methods * Changed `AdaptiveStats.K` field type; added `LearnedRateLow`, `LearnedRateHigh`, and `WindowHitRate` fields * Removed legacy hardware detection methods * **Documentation** * Updated README with self-tuning eviction terminology and configuration examples <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Robert Landers <landers.robert@gmail.com>
1 parent 8fecbd7 commit e70cbd3

File tree

4 files changed

+416
-364
lines changed

4 files changed

+416
-364
lines changed

0 commit comments

Comments
 (0)