package lru

All checked builds pass
  1. Overview
  2. Docs
Scalable LRU caches

Install

dune-project
 Dependency

Authors

Maintainers

Sources

lru-0.3.1.tbz
sha256=6cbe23d27a7d5b244f869c0b88140d47f70f413a6462ef35c0009325d4b236fd
sha512=81144e258d6e488d4677ade91132401b6f8871c72aadf2f1c190c4dee918c71c5df10c4e690c5bf1ab0f364d87989d44aec3695310a3477f6473eb17c1261734

Description

Lru provides weight-bounded finite maps that can remove the least-recently-used (LRU) bindings in order to maintain a weight constraint.

Added to opam-repository:

README

lru — Scalable LRU caches

v0.3.0-4-gcf049b9

Lru provides weight-bounded finite maps that can remove the least-recently-used (LRU) bindings in order to maintain a weight constraint.

Two implementations are provided: one is functional, the other imperative.

lru is distributed under the ISC license.

Homepage: https://github.com/pqwy/lru

Documentation

Interface, online.

Dependencies (3)

  1. psq >= "0.2.0"
  2. dune >= "1.7"
  3. ocaml >= "4.03.0"

Dev Dependencies (3)

  1. alcotest with-test
  2. qcheck-alcotest with-test
  3. qcheck-core with-test

Optional Dependencies

None

Used by (12)

  1. arp >= "4.1.0"
  2. cactus
  3. caqti >= "2.2.4"
  4. dns >= "4.4.1"
  5. dns-resolver
  6. earlybird >= "1.0.1"
  7. git < "3.2.0"
  8. guardian >= "0.4.0"
  9. index >= "1.5.0"
  10. mirage-nat
  11. mnet >= "0.0.5"
  12. tcpip

Conflicts

None

Build status

Results of building lru with each compiler on check.ci.ocaml.org, run of against opam-repository 7cdc698. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.3.1 (this version) good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure