The somewhat strange result is illustrated below. Note that despite theoretical complexity of list-based solution vs the heap-based one is O(1) vs O(log n) the latter performs better for larger hit-rates.
-
Notifications
You must be signed in to change notification settings - Fork 0
vysotskylev/list-vs-heap
About
Comparison of list and heap based LRU cache
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published