package lru_cache
A simple implementation of a Least-Recently-Used cache
Install
Dune Dependency
Authors
Maintainers
Sources
ocaml-lru-cache-0.4.0.tar.bz2
md5=700969587b907565f94d5bb434c7114b
sha512=a7ae4b7f5c0f33dfc686f32b277a8b1f0530c5990384a6eacfe2dc22cf5483c2303ffa090fd13d5d3449273500a005b70c5cda7ff9b90e7a6433d2c72974cf22
README.md.html
ocaml-lru-cache
ocaml-lru-cache is a simple OCaml implementation of a cache using the Least Recently Used (LRU) strategy.
Installation
Install the library via OPAM:
opam install lru_cache
Documentation
Reference documentation is here.
Examples
See the test/test_lwt.ml
for an example using Lwt to compute cached values. To compile the example, Lwt must be installed.
make runtest
License
BSD3, see LICENSE file for its text.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>