Skip to content

perf: Track VecDeque positions in HashMap for O(1) LRU touch - #146

Merged
adityamukho merged 1 commit into
mainfrom
perf/hashmap-lru-touch
Apr 17, 2026
Merged

adityamukho merged 1 commit into
mainfrom
perf/hashmap-lru-touch

perf(storage): track VecDeque positions in HashMap for O(1) LRU touch

3e8968f
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 17, 2026 in 1s

83.41% (target 75.00%)

View this Pull Request on Codecov

83.41% (target 75.00%)

Details

Codecov Report

❌ Patch coverage is 86.66667% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.41%. Comparing base (a608b14) to head (3e8968f).

Files with missing lines Patch % Lines
src/storage/cache.rs 86.66% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #146   +/-   ##
=======================================
  Coverage   83.40%   83.41%           
=======================================
  Files          26       26           
  Lines        4810     4823   +13     
=======================================
+ Hits         4012     4023   +11     
- Misses        798      800    +2     
Files with missing lines Coverage Δ
src/storage/cache.rs 85.93% <86.66%> (-0.34%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.