A simple cache system in C++ with FIFO , LIFO and LRU eviction algorithms.
It is Flexible and you can use custom eviction policies and storage policies.
- Clone the repository
- Include the header file in your project
- Create a cache object with the desired eviction policy and storage policy
- Use the cache object to store and retrieve data
- delete all the pointers
- Insertion : O(1)
- Access : O(1) for all methods
- Update : O(1)