package psq

All checked builds pass
  1. Overview
  2. Docs
Functional Priority Search Queues

Install

dune-project
 Dependency

Authors

Maintainers

Sources

psq-0.2.1.tbz
sha256=42005f533eabe74b1799ee32b8905654cd66a22bed4af2bd266b28d8462cd344
sha512=8a8dfe20dc77e1cf38a7b1a7fc76f815c71a4ffe04627151b855feaba8f1ae742594739d1b7a45580b5b24a2cd99b58516f6b5c8d858aa314201f4a6422101ee

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.

Added to opam-repository:

README

psq — Functional Priority Search Queues

v0.2.0-7-gb2eb861

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 (16)

  1. carton < "1.0.0"
  2. cascade
  3. domain-local-timeout
  4. dream < "1.0.0~alpha3"
  5. dream-httpaf < "1.0.0~alpha4"
  6. eio
  7. git >= "3.2.0"
  8. git-kv >= "0.2.0"
  9. h2
  10. ke >= "0.5"
  11. lru >= "0.3.1"
  12. ocluster
  13. piaf < "0.2.0"
  14. picos < "0.5.0"
  15. picos_io
  16. prbnmcn-clustering >= "0.0.2"

Conflicts

None

Build status

Results of building psq 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.2.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