package psq

  1. Overview
  2. Docs
Functional Priority Search Queues

Install

Dune Dependency

Authors

Maintainers

Sources

psq-0.1.0.tbz
sha256=979abf22fe357ef3cf3a6939a05ba158e8946b324bc3c1b0b23dcbb5637bf021
md5=21d6abc3db996888887ec61b7d38f885

README.md.html

psq — Functional Priority Search Queues

v0.1.0

psq provides a functional priority search queue for OCaml. This structure behaves both as a finite map, containing bindings k -> p, and a priority queue over p. It provides efficient access along more than one axis: to any binding by k, and to the binding(s) with the least p.

Typical applications are searches, schedulers and caches. If you ever scratched your head because that A* didn't look quite right, a PSQ is what you needed.

The implementation is backed by priority search pennants.

psq is distributed under the ISC license.

Documentation

Interface, online.

OCaml

Innovation. Community. Security.