Skip to content

timbub/cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cache algorithms: LFU(Least Frequently Used) and Ideal

Project tree

cache
├── ideal
│   ├── CMakeLists.txt
│   ├── e2e.cpp
│   ├── idealcache.hpp
│   └── main.cpp
└── lfu
    ├── CMakeLists.txt
    ├── e2e.cpp
    ├── lfucache.hpp
    └── main.cpp

Description of algorithms

...

Run

Clone repository

git clone ...
cd cache

[TYPE] = lfu or ideal

Choose folders with type of cache

cd [TYPE]

Build

cmake -DCMAKE_BUILD_TYPE=Release -S . -B build
cmake --build build

Run

cd build
./[TYPE]

About

Realization LFU and ideal cache algorithms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published