bigstringaf

AuthorSpiros Eliopoulos <spiros@inhabitedtype.com>
LicenseBSD-3-clause
Homepagehttps://github.com/inhabitedtype/bigstringaf
Issue Trackerhttps://github.com/inhabitedtype/bigstringaf/issues
MaintainerSpiros Eliopoulos <spiros@inhabitedtype.com>
Dependencies
&alcotest
base-bigarray
jbuilder>= 1.0+beta10
Availableocaml-version >= "4.03.0"
PublishedJun 10, 2018
Source [http] https://github.com/inhabitedtype/bigstringaf/archive/0.2.0.tar.gz
0a11da7f731b14fae193244d590a22f5
StatisticsInstalled 10 times last month.
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/bigstringaf/bigstringaf.0.2.0/opam

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.

Necessary for
angstrom
>= 0.10.0
faraday
>= 0.6.0