Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pascutto/cachecache
Efficient caching library for OCaml
https://github.com/pascutto/cachecache
cache ocaml
Last synced: 3 months ago
JSON representation
Efficient caching library for OCaml
- Host: GitHub
- URL: https://github.com/pascutto/cachecache
- Owner: pascutto
- License: mit
- Created: 2020-04-14T08:24:25.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-09-27T11:12:32.000Z (over 1 year ago)
- Last Synced: 2024-11-08T13:03:34.772Z (3 months ago)
- Topics: cache, ocaml
- Language: OCaml
- Homepage:
- Size: 330 KB
- Stars: 33
- Watchers: 4
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - gospel-lru
README
CacheCache
An efficient caching library for OCaml.
[![license](https://img.shields.io/github/license/pascutto/cachecache.svg?style=flat-square)](LICENSE)
[![OCaml-CI Build Status](https://img.shields.io/endpoint?url=https%3A%2F%2Fci.ocamllabs.io%2Fbadge%2Fpascutto%2Fcachecache%2Fmain&logo=ocaml&style=flat-square)](https://ci.ocamllabs.io/github/pascutto/cachecache)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/pascutto/pascutto?style=flat-square)](https://github.com/pascutto/cachecache/releases/latest)
[![documentation](https://img.shields.io/badge/documentation-not_published-red?style=flat-square)](https://pascutto.github.io/cachecache):warning: **Disclamer:**: this library is still at preliminary stage, and not
ready for public use. Interfaces and implementations are unstable.## About
CacheCache aims at providing an efficient (w.r.t. CPU usage, memory usage and
allocations) caching library for OCaml. It currently implements the following
caching strategies:- `Lru`: [Least recently
used](https://en.wikipedia.org/wiki/Cache_replacement_policies#Least_recently_used_(LRU)).
Least recently used items are discarded first when the cache is full.Interfaces are annotated with formal specifications using the
[Gospel](https://ocaml-gospel.github.io/gospel/) specification language.