package charset
Fast char sets
Install
Dune Dependency
Authors
Maintainers
Sources
0.1.0.tar.gz
sha256=4a4f75d512ff8c5c636449bc979949cf9fffaf44def28df289b7d1005cc1d278
md5=8b3162d12046fffea50863308db9a3d3
Description
Published: 23 Mar 2022
README
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
val equal : t -> t -> bool
Other operations are competitive with the corresponding standard library implementations:
val of_list : elt list -> t
val iter : (elt -> unit) -> t -> unit
See BENCHMARKS.md for a full set of benchmark results.
Dependencies (3)
-
ocaml_intrinsics
>= "v0.15.0" & os != "win32"
-
dune
>= "2.3"
-
ocaml
>= "4.11.0" & < "5.0.0"
Dev Dependencies (1)
-
ounit2
with-test
Used by
None
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page