Commit Graph

4 Commits

Author SHA1 Message Date
Kelvin Mwinuka
663c097be8 Added support for multiple databases on the evictKeysWithExpiredTTL function 2024-07-01 06:04:31 +08:00
Kelvin Clement Mwinuka
555387494b Replaced all time.After instances to time.Ticker 2024-06-02 17:55:15 +08:00
Kelvin Clement Mwinuka
040f246ea2 Implemented test for LRU cache implementation 2024-05-06 17:16:33 +08:00
Kelvin Clement Mwinuka
148838446b Pop from LFU and LRU cache using heap.Pop instead of calling the Pop method of the cache directly. Implemented test for lfu cache 2024-05-06 16:57:38 +08:00