bigstringaf
Bigstring intrinsics and fast blits based on memcpy/memmove
README
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.
Install
- Published
-
08 Apr 2022
- Maintainers
-
Sources
Dependencies
Reverse Dependencies
albatross
>= "1.1.0"
angstrom
>= "0.10.0"
caqti
>= "1.7.0"
carton
= "0.2.0" | >= "0.4.4"
carton-git
>= "0.2.0"
comby-kernel
>= "1.7.0"
conduit-async
= "3.0.0"
conduit-lwt
= "3.0.0"
conduit-mirage
= "3.0.0"
decompress
>= "1.0.0"
doi2bib
>= "0.5.1"
dream
< "1.0.0~alpha3"
duff
>= "0.3"
eio
>= "0.3"
emile
>= "0.6"
encore
>= "0.4"
faraday
>= "0.6.0"
git
>= "3.2.0" & < "3.4.0" | >= "3.9.1"
git-mirage
>= "3.0.0"
git-paf
>= "3.5.0"
git-unix
>= "3.0.0"
httpaf
>= "0.6.0"
irmin
>= "3.2.0"
lmdb
>= "1.0"
multipart_form
>= "0.2.0"
paf
>= "0.0.2"
reparse
< "2.0.0"
sendmail
>= "0.6.0"
tezos-bls12-381-polynomial
>= "0.1.3"
tezos-context
>= "11.0"
uring
< "0.2"