Skip to content

LFU with Dynamic Aging cache implementation in C

Notifications You must be signed in to change notification settings

BileyHarryCopter/lfuda-c

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lfuda-c

LFU with Dynamic Aging in-memory cache implementation in C.

1. About

This library implements LFU and LFUDA caching algorithms.

2. What is LFUDA?

LFUDA tries to combine the best of LFU and LRU, while avoiding the pitfalls of both cache eviction policies. Unlike regular LFU-Aging, LFUDA is parameterless, which removes the complexitiy of tuning the parameters.

3. Compilation

1. Compilation

Linux

# Clone the repository
git clone https://github.com/serjzimmerman/lfuda-c

cmake -S ./ -B build/
cd build/

# Compile all targets
make all

# To run all tests
ctest

Releases

No releases published

Packages

No packages published

Languages

  • C 82.0%
  • C++ 9.5%
  • Python 3.7%
  • CMake 3.4%
  • Shell 1.4%