package bigstringaf

All checked builds pass
  1. Overview
  2. Docs
Bigstring intrinsics and fast blits based on memcpy/memmove

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.10.0.tar.gz
sha512=b51c756925d7016ffd7eac49e69393a1897391ca2685a8c30c7b6e3917b4d66c9400b49e8986d0f03329197b95ad52e096ff83dea5e03571cb5bc3d9a5170602
sha256=ed92f5b05fbc11b9defcec734d59b1068f3717a9ae4f9705c16c7f7ac3729f28
md5=be0a44416840852777651150757a0a3b

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.

Added to opam-repository:

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.08.0"
  2. dune-configurator >= "3.0"
  3. dune >= "3.0"

Dev Dependencies (1)

  1. alcotest with-test

Optional Dependencies

None

Used by (64)

  1. albatross
  2. angstrom >= "0.10.0"
  3. avro-simple
  4. caqti >= "1.7.0"
  5. carton != "0.4.3" & < "1.0.0"
  6. carton-git
  7. carton-lwt < "1.0.0"
  8. clz
  9. comby-kernel >= "1.7.0"
  10. compsort
  11. conan-lwt < "0.0.7"
  12. data-encoding >= "1.0.0"
  13. decompress >= "1.0.0" & < "1.6.0"
  14. docteur
  15. docteur-solo5
  16. docteur-unix
  17. doi2bib
  18. dream < "1.0.0~alpha3"
  19. dream-httpaf < "1.0.0~alpha4"
  20. dream-mirage
  21. dream-pure
  22. duff >= "0.3"
  23. eio >= "0.3"
  24. emile >= "0.6"
  25. encore >= "0.4"
  26. extism
  27. faraday >= "0.6.0"
  28. git >= "3.15.0"
  29. git-cohttp
  30. git-cohttp-unix
  31. git-mirage
  32. git-paf
  33. git-unix >= "3.2.0"
  34. gluten
  35. grpc-bench
  36. h1 < "1.1.0"
  37. h2
  38. httpaf >= "0.6.0"
  39. httpun
  40. httpun-ws
  41. irmin >= "3.5.2"
  42. ke
  43. lmdb >= "1.0" & < "1.1.3"
  44. mimic
  45. mrmime < "0.7.1"
  46. multipart_form >= "0.2.0"
  47. multipart_form-eio
  48. multipart_form-lwt
  49. multipart_form-miou
  50. paf
  51. piaf < "0.2.0"
  52. prettym < "0.0.4"
  53. quickterface
  54. reparse < "2.0.0"
  55. riot < "0.0.7"
  56. rock
  57. sendmail >= "0.6.0"
  58. sherlodoc
  59. spoke
  60. tensorboard
  61. unstrctrd
  62. uring < "0.2"
  63. websocketaf
  64. xcursor

Conflicts (3)

  1. js_of_ocaml < "3.5.0"
  2. ocaml-freestanding
  3. mirage-xen < "6.0.0"

Build status

Results of building bigstringaf with each compiler on check.ci.ocaml.org, run of against opam-repository 8a77e58. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
0.10.0 (this version) good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure