forked from inhabitedtype/bigstringaf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.md.orig
46 lines (31 loc) · 1.06 KB
/
README.md.orig
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
46
# Bigstringaf_simd
A fork of bigstringaf_simd with support for SIMD intrinsics
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]:
[opam]: http://opam.ocaml.org/
```bash
opam install bigstringaf
```
## Development
To install development dependencies, pin the package from the root of the
repository:
```bash
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:
```bash
opam install alcotest
make test
```
## License
BSD3, see LICENSE file for its text.