https://github.com/jab/lfu-cache
Constant-time LFU Cache in ~100 lines of Python
https://github.com/jab/lfu-cache
Last synced: 8 months ago
JSON representation
Constant-time LFU Cache in ~100 lines of Python
- Host: GitHub
- URL: https://github.com/jab/lfu-cache
- Owner: jab
- License: mpl-2.0
- Created: 2022-09-10T00:38:45.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-27T20:32:03.000Z (almost 3 years ago)
- Last Synced: 2025-01-22T17:11:48.518Z (10 months ago)
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
O(1) LFU Cache
==============
See `lfu.py`.