package psq

  1. Overview
  2. Docs
Functional Priority Search Queues

Install

Dune Dependency

Authors

Maintainers

Sources

psq-v0.2.0.tbz
sha256=d3cefdf6ab17e6025e7246765acbe86109156ab024bf9bd98353e713f0c494c8
md5=b94fb15f8878172bf58446b7d0fb7c1e

Description

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.

Published: 10 Apr 2019

README

psq — Functional Priority Search Queues

v0.2.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

Documentation is generated by odoc. It can be browsed online.

Dependencies (3)

  1. seq
  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

Used by (10)

  1. carton
  2. dream < "1.0.0~alpha3"
  3. dream-httpaf
  4. eio
  5. git >= "3.0.0"
  6. h2
  7. ke >= "0.5"
  8. lru >= "0.3.0"
  9. ocluster < "0.2"
  10. piaf < "0.2.0"

Conflicts

None

OCaml

Innovation. Community. Security.