package simple63
All checked builds passInstall
dune-project
Dependency
Authors
Maintainers
Sources
sha256=7c5393ecea953a18a42fdb5cf16bc082a51a0d99e9c19209f2512526c28b5fe2
sha512=eb2fff2bd7f6433382cb70e46539defb6cdafc66fb8293e799fbbecfa47ccdb3fa740aff787237507282d617386b88374d67836b4c3f72d9e3d0c497d1cf1aef
Description
Simple63 implements a module for compression and decompression of non-negative integer sequences. It is similar to the Simple-8b technique, adapted to work with OCaml's 63-bit integers.
Added to opam-repository:
README
Simple63
Simple63 is an OCaml module for compressing and decompressing sequences of integers along the ideas described in the 2010 paper by Anh and Moffat. Like Simple-8b technique described in that paper, Simple63 is a word-bounded, and (as the name suggests) is the result of adapting Simple-8b to work with OCaml's 63-bit integers. While using int64 integer types would have been possible, the additional boxing required to manipulate int64's make this option unappealing.
Example usage:
let in_lst = [1; 22; 333; 4444] in
let in_seq = List.to_seq in_lst in
let out_seq = encode_to_seq in_seq in
(* confirm that we get out what we've put in: *)
let in_seq' = decode_from_seq out_seq in
let in_lst' = List.of_seq in_seq' in
assert (in_lst = in_lst')To install:
opam install simple63Documentation
See https://barko.github.io/simple63
License
BSD
Dependencies (3)
- ppx_inline_test
-
ocaml
>= "4.08.0" -
dune
> "2.6"
Dev Dependencies
None
Optional Dependencies
None
Used by
None
Conflicts
None
Build status
Results of building simple63 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 |
|---|---|---|---|---|---|
| 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