Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Least-recently-used (LRU) cache module

Project description

This package provides a simple but efficient least-recently-used (LRU) cache module. A single class, LRUCache, with a container interface, provides prioritized caching. The implementation uses a heap and a dictionary to provide quick inserts, deletes, and references.

Project details


Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page