package bigstringaf

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.1.0.tar.gz
md5=4685c54cf1b8318acda294be44f94813

Description

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: 01 Apr 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.

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. base-bigarray
  2. jbuilder >= "1.0+beta10"
  3. ocaml >= "4.03.0"

Dev Dependencies (1)

  1. alcotest with-test

Used by (25)

  1. albatross >= "1.1.0" & < "1.2.0"
  2. angstrom >= "0.10.0"
  3. caqti >= "1.7.0"
  4. comby-kernel >= "1.7.0"
  5. conduit-async = "3.0.0"
  6. conduit-lwt = "3.0.0"
  7. conduit-mirage = "3.0.0"
  8. conduit-tls
  9. decompress >= "1.0.0" & < "1.5.3"
  10. duff >= "0.3"
  11. faraday >= "0.6.0"
  12. git >= "3.0.0" & < "3.3.1" | >= "3.4.0" & < "3.9.1"
  13. git-paf >= "3.5.0"
  14. git-unix >= "3.0.0" & < "3.9.1"
  15. ke
  16. lmdb >= "1.0"
  17. multipart_form < "0.2.0"
  18. multipart_form-eio
  19. multipart_form-lwt
  20. prettym < "0.0.2"
  21. reparse < "2.0.0"
  22. tensorboard
  23. unstrctrd
  24. uring < "0.2"
  25. websocketaf

Conflicts

None