Adds Pydantic support to sortedcontainers.
-
Updated
Apr 19, 2025 - Python
Adds Pydantic support to sortedcontainers.
LfuDictCache is a Python class implementing a fixed-size cache with LFU eviction and LRU tie-breaking. It supports standard dictionary operations while efficiently managing frequently and infrequently accessed items.
Add a description, image, and links to the sortedcontainers topic page so that developers can more easily learn about it.
To associate your repository with the sortedcontainers topic, visit your repo's landing page and select "manage topics."