[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47768] [PATCH v2 16/43] gnu: Add ocaml-bigstringaf.
From: |
pukkamustard |
Subject: |
[bug#47768] [PATCH v2 16/43] gnu: Add ocaml-bigstringaf. |
Date: |
Mon, 10 May 2021 05:16:01 +0000 |
* gnu/ocaml/packages.scm (ocaml-bigstringaf): New variable.
---
gnu/packages/ocaml.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 823cb00afd..f252fb53fa 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -6579,3 +6579,37 @@ provides support to program with time varying values:
declarative events and
signals. React doesn't define any primitive event or signal, it lets the
client chooses the concrete timeline.")
(license license:lgpl2.1+)))
+
+(define-public ocaml-bigstringaf
+ (package
+ (name "ocaml-bigstringaf")
+ (version "0.7.0")
+ (home-page "https://github.com/inhabitedtype/bigstringaf")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1q1sqxzdnlrpl95ccrhl7lwy3zswgd9rbn19ildclh0lyi2vazbj"))))
+ (build-system dune-build-system)
+ (arguments
+ '(#:test-target "."))
+ (propagated-inputs
+ `(("ocaml-bigarray-compat" ,ocaml-bigarray-compat)))
+ (native-inputs
+ `(("ocaml-alcotest" ,ocaml-alcotest)
+ ("pkg-config" ,pkg-config)))
+ (synopsis
+ "Bigstring intrinsics and fast blits based on memcpy/memmove")
+ (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. @code{bigstringaf} provides
+these missing pieces.")
+ (license license:bsd-3)))
--
2.31.1
- [bug#47768] [PATCH v2 27/43] gnu: Add ocaml-ppx-base., (continued)
- [bug#47768] [PATCH v2 27/43] gnu: Add ocaml-ppx-base., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 38/43] gnu: Add ocaml-graphics., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 28/43] gnu: Add ocaml-fieldslib., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 29/43] gnu: Add ocaml-ppx-fields-conv., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 41/43] gnu: Add ocaml-ppx-expect., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 42/43] gnu: ocaml-num: Update to 1.4., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 18/43] gnu: Add ocaml-syntax-shims., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 31/43] gnu: Add ocaml-ppx-optional., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 37/43] gnu: Add ocaml-uri., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 24/43] gnu: Add ocaml-ppx-hash., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 16/43] gnu: Add ocaml-bigstringaf.,
pukkamustard <=
- [bug#47768] [PATCH v2 26/43] gnu: Add ocaml-ppx-js-style., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 40/43] gnu: Add ocaml-ppx-variants-conv., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 39/43] gnu: Add ocaml-variantslib., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 43/43] gnu: Add ocaml-js-of-ocaml., pukkamustard, 2021/05/10
- [bug#47768] [PATCH v2 00/43] Assorted OCaml patches (V2), Xinglu Chen, 2021/05/25