package bigstringaf

  1. Overview
  2. Docs
Bigstring intrinsics and fast blits based on memcpy/memmove

Install

dune-project
 Dependency

Authors

Maintainers

Sources

bigstringaf-0.4.0.tbz
sha256=cdd8073687f56d4d60d71a013b228cf6e05f184a4a93988b3166df5a262fb1c6
md5=d1ff1ab40aad48627686f9b8c02d985a

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: 26 Oct 2018

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.

Build Status

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)

  1. ocaml >= "4.03.0"
  2. base-bigarray
  3. jbuilder >= "1.0+beta10"

Dev Dependencies (1)

  1. alcotest with-test

Used by (33)

  1. albatross
  2. angstrom >= "0.10.0"
  3. caqti >= "1.7.0"
  4. clz
  5. comby-kernel >= "1.7.0"
  6. compsort
  7. conan-lwt >= "0.0.2" & < "0.0.7"
  8. decompress >= "1.0.0" & < "1.5.3"
  9. doi2bib
  10. duff >= "0.3"
  11. emile >= "0.6"
  12. faraday >= "0.6.0"
  13. git >= "3.2.0" & < "3.15.0"
  14. git-paf
  15. git-unix >= "3.2.0" & < "3.15.0"
  16. gluten
  17. h1 < "1.1.0"
  18. httpaf >= "0.6.0"
  19. httpun-ws
  20. irmin >= "3.5.2"
  21. ke
  22. mrmime < "0.2.0"
  23. multipart_form < "0.2.0"
  24. multipart_form-eio
  25. multipart_form-lwt
  26. multipart_form-miou
  27. prettym < "0.0.4"
  28. reparse < "2.0.0"
  29. sendmail >= "0.6.0"
  30. tensorboard
  31. unstrctrd
  32. uring < "0.2"
  33. websocketaf

Conflicts (2)

  1. ocaml-freestanding < "0.4.1"
  2. mirage-xen-posix < "3.1.0"