package lru

  1. Overview
  2. Docs

Description

lru provides LRU caches for OCaml. These are size-bounded finite maps that remove the least-recently-used (LRU) bindings to maintain their size constraint.

The library has two implementations: one is functional, the other imperative.

lru is distributed under the ISC license.

Documentation

Interface, online.

Tags

data-structure

Published: 03 Apr 2017

README

lru — Scalable LRU caches

v0.2.0

lru provides LRU caches for OCaml. These are size-bounded finite maps that remove the least-recently-used (LRU) bindings to maintain their size constraint.

The library has two implementations: one is functional, the other imperative.

lru is distributed under the ISC license.

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

Documentation

Interface, online.

Dependencies (5)

  1. psq < "0.2.0"
  2. topkg build
  3. ocamlbuild build
  4. ocamlfind build
  5. ocaml >= "4.02.0" & < "5.0"

Dev Dependencies (1)

  1. alcotest with-test

Used by (4)

  1. anycache >= "0.7.4"
  2. git = "2.0.0"
  3. mirage-nat < "1.2.0"
  4. tcpip >= "3.6.0" & < "3.7.4"

Conflicts

None