this repo has no description
1opam-version: "2.0"
2synopsis: "Abstract type on integer between x64 and x86 architecture"
3description: """
4This library provide one module `Optint` which use internally an `int` if you
5are in a x64 architecture or an `int32` (boxed value) if you are in a x86
6architecture. This module is __really__ unsafe and does not care some details
7(like the sign bit) for any cast.
8
9## Goal
10
11The main difference between an `int` and an `int32` is the second is boxed.
12About performance this is not the best. However, you can not ensure to be in an
13x64 architecture where you can use directly an `int` instead an `int32` (and
14improve performance).
15
16So, this library provide an abstraction about a real `int32`. In a x64
17architecture, internally, we use a `int` and in a x86 architure, we use a
18`int32`. By this way, we ensure to have in any platform 32 free bits in
19`Optint.t`."""
20maintainer: "romain.calascibetta@gmail.com"
21authors: "Romain Calascibetta"
22license: "ISC"
23homepage: "https://github.com/dinosaure/optint"
24doc: "https://dinosaure.github.io/optint/"
25bug-reports: "https://github.com/dinosaure/optint/issues"
26depends: [
27 "ocaml" {>= "4.03.0" & < "5.0"}
28 "dune"
29]
30build: [
31 ["dune" "subst"]
32 ["dune" "build" "-p" name "-j" jobs]
33]
34dev-repo: "git+https://github.com/dinosaure/optint.git"
35url {
36 src:
37 "https://github.com/mirage/optint/releases/download/v0.0.2/optint-v0.0.2.tbz"
38 checksum: [
39 "sha256=81277e25c66088783e975f3ecb26e141331a224a11533d922f20cfcabc3dabd2"
40 "md5=c074a4cc9ab3cbec89773bd67c1a956f"
41 ]
42}