package charset

All checked builds pass
  1. Overview
  2. Docs
Fast char sets

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.3.0.tar.gz
sha256=20f17419f5a93650ee2a6740f68ba70601f5de923acb317799f18c8c094f8167
md5=abc112340946432aac77f530940c8005

Description

Added to opam-repository:

README

Charset

Charset

This library provides a fast drop-in replacement for the standard library's Set.Make(Char), implemented as a bit array. All functions follow the documented behaviour of the corresponding standard library functions.

All pure set operations (i.e. functions on sets and elements, rather than on functions, lists, sequences, etc.) are intended to execute consistently in around 10ns or less, regardless of set size:

val union : t -> t -> t
union
val equal : t -> t -> bool
equal

Other operations are competitive with the corresponding standard library implementations:

val of_list : elt list -> t
of-list
val iter : (elt -> unit) -> t -> unit
iter

See BENCHMARKS.md for a full set of benchmark results.


Dependencies (3)

  1. ocaml_intrinsics >= "v0.15.0" & os != "win32"
  2. dune >= "2.3"
  3. ocaml >= "4.11.0"

Dev Dependencies (1)

  1. ounit2 with-test

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

Results of building charset with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. 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.3.0 (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