zimingttkx / cpp-from-scratch
Publicc++20 from-scratch implementations: LRU/LFU/ARC cache, red-black tree, memory pool, GC and more. Header-only, zero deps.
A header-only C++20 library implementing thread-safe cache strategies like LRU, LFU, and ARC from scratch, with tests and plans for additional system components.
How It Works
You stumble upon this free collection of smart storage tools built from scratch for C++ programs while looking for ways to make apps remember data faster.
You read about different clever ways to store and quickly grab the most important or recently used pieces of information, like special memory keepers.
You choose one like the recent-use keeper because it automatically prioritizes the data you touch most often, keeping everything speedy.
You simply place the ready-to-use files into your own project folder, no fuss needed.
You follow the easy examples to store some sample data and fetch it back, watching it handle limits perfectly.
Your program now grabs data lightning-fast without slowing down, even as it fills up.
Congratulations, your app now has reliable, efficient memory that works smoothly every time, ready for more features ahead.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.