package bigstringaf
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=5a14ed83006dc8a7acd844a020d3a68d4b9dbd21b60eca279d38382858678959
md5=dccf639273b1eec0e0f142f21319268d
Description
Bigstring intrinsics and fast blits based on memcpy/memmove
The OCaml compiler has a bunch of intrinsics for Bigstrings, but they're not widely-known, sometimes misused, and so programs that use Bigstrings are slower than they have to be. And even if a library got that part right and exposed the intrinsics properly, the compiler doesn't have any fast blits between Bigstrings and other string-like types.
So here they are. Go crazy.
Published: 16 Feb 2020
README
Bigstringaf
The OCaml compiler has a bunch of intrinsics for Bigstrings, but they're not widely-known, sometimes misused, and programs that use Bigstrings are slower than they have to be. And even if a library got that part right and exposed the intrinsics properly, the compiler doesn't have any fast blits between Bigstrings and other string-like types.
So here they are. Go crazy.
Installation
Install the library and its dependencies via OPAM:
opam install bigstringaf
Development
To install development dependencies, pin the package from the root of the repository:
opam pin add -n bigstringaf .
opam install --deps-only bigstringaf
After this, you may install a development version of the library using the install command as usual.
For building and running the tests during development, you will need to install the alcotest
package:
opam install alcotest
make test
License
BSD3, see LICENSE file for its text.
Dependencies (3)
-
ocaml
>= "4.03.0"
- bigarray-compat
-
dune
>= "1.0"
Dev Dependencies (1)
-
alcotest
with-test
Used by (49)
-
albatross
>= "1.1.0"
-
angstrom
>= "0.10.0"
- apero-core
-
caqti
>= "1.7.0"
- clz
-
comby-kernel
>= "1.7.0"
-
conan-lwt
>= "0.0.2"
-
conduit-async
= "3.0.0"
-
conduit-lwt
= "3.0.0"
-
conduit-mirage
= "3.0.0"
- conduit-tls
-
data-encoding
>= "1.0.0"
-
decompress
>= "1.0.0" & < "1.5.3"
-
doi2bib
>= "0.4.0"
-
dream
< "1.0.0~alpha3"
- dream-httpaf
- dream-pure
-
duff
>= "0.3"
-
emile
>= "0.6"
-
encore
>= "0.4"
-
faraday
>= "0.6.0"
-
functoria
>= "4.4.0"
-
git
>= "3.0.0" & < "3.3.1" | >= "3.4.0" & < "3.9.1"
-
git-paf
>= "3.5.0"
-
git-unix
>= "3.0.0" & < "3.9.1"
- gluten
- h2
-
httpaf
>= "0.6.0"
- httpun-ws
-
irmin
>= "3.2.0"
- ke
-
lmdb
>= "1.0"
- mrmime
-
multipart_form
< "0.2.0"
- multipart_form-eio
- multipart_form-lwt
- octez-bls12-381-polynomial
- octez-internal-libs
- octez-libs
- prettym
-
reparse
< "2.0.0"
- rock
-
sendmail
>= "0.6.0"
- tensorboard
-
tezos-bls12-381-polynomial
>= "0.1.3"
-
tezos-context
>= "11.0"
- unstrctrd
-
uring
< "0.2"
- websocketaf
Conflicts (3)
-
js_of_ocaml
< "3.5.0"
-
ocaml-freestanding
< "0.4.1"
-
mirage-xen-posix
< "3.1.0"