Skip to content

vysotskylev/list-vs-heap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Comparison of list and heap based LRU caches

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.

GitHub Logo

About

Comparison of list and heap based LRU cache

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published