-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
45 lines (43 loc) · 1.42 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
opam-version: "2.0"
maintainer: "Spiros Eliopoulos <spiros@inhabitedtype.com>"
authors: [ "Spiros Eliopoulos <spiros@inhabitedtype.com>" ]
license: "BSD-3-Clause"
homepage: "https://github.com/inhabitedtype/bigstringaf"
bug-reports: "https://github.com/inhabitedtype/bigstringaf/issues"
dev-repo: "git+https://github.com/inhabitedtype/bigstringaf.git"
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name] {with-test}
]
depends: [
"dune"
"alcotest" {with-test}
"base-bigarray"
"ocaml" {>= "4.03.0"}
]
depopts: [
"mirage-xen-posix"
"ocaml-freestanding"
]
conflicts: [
"mirage-xen-posix" {< "3.1.0"}
"ocaml-freestanding" {< "0.4.1"}
]
synopsis: "Bigstring intrinsics and fast blits based on memcpy/memmove"
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.
"""
url {
src: "https://github.com/inhabitedtype/bigstringaf/archive/0.5.2.tar.gz"
checksum: [
"sha256=bf523b9c55d8b3b5c1b90f41f248a3fdfa060cc19c4fda156fd9cb962dcd4dd0"
"md5=c71ad263558e0d8d3f2052de29e43074"
]
}