package lru_cache
An LRU Cache implementation.
Install
Dune Dependency
Authors
Maintainers
Sources
lru_cache-v0.16.0.tar.gz
sha256=aa6b87aa9316ee41ca6e8b1291b6955305b26ba3330aa4e7fdcc0f921e3fc976
README.md.html
Lru_cache
Lru_cache
provides caching with least-recently-used eviction policy.
Lru_cache
has seen many years of production use in Iron. We intend to make it the preferred LRU cache implementation.
Related functionality (as of 2019-05):
Core.Memo.lru
: Its interface is written for transparent memoization of functions and thus exposes no access to the cache itself.Memo_cache
: Uses a re-implementation ofHash_queue
. Cannot change cache capacity after creation. Its README suggests usingCore.Memo
instead.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>