./devel/ocaml-optint, Library to provide fast integer (x64) or allocated int32 (x84)

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.2.0, Package name: ocaml-optint-0.2.0, Maintainer: jaapb

This library provides a module that uses different integer types
on different architectures, for performance optimisation
purposes. It is really unsafe and ignores some details like the
sign bit for any cast.


Required to run:
[lang/ocaml] [devel/ocaml-findlib] [devel/ocaml-dune]

Required to build:
[pkgtools/cwrappers] [misc/ocaml-opaline]

Master sites:

Filesize: 11.491 KB

Version history: (Expand)


CVS history: (Expand)


   2022-05-24 20:59:36 by Jaap Boender | Files touched by this commit (145)
Log message:
Replaced mk/ocaml.mk with lang/ocaml/ocaml.mk in ocaml packages
   2022-05-03 21:11:52 by Jaap Boender | Files touched by this commit (3)
Log message:
Updated devel/ocaml-optint to version 0.2.0.

Changes are minor bugfixes and additions.
   2022-02-14 10:07:04 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
ocaml-optint: update to 0.1.0.

### v0.1.0 2021-03-30 Paris (France)

- Annotate integer types with `[@@immediate64]` (@CraigFe, #13)
- Move unwrapped module `Int63` to `Optint.Int63` (@CraigFe, #13)

### v0.0.5 2021-02-22 Paris (France)

- Update the README.md (@CraigFe, #9)
- Add a representation of 63-bit integers (@CraigFe, #9)
- Allow to compile fuzzers on 32-bit architectures (@dinosaure, #9)
- Add encode / decode functions for integers (@CraigFe, #9)
- Fix `optint` about sign and cast on all architectures (@dinosaure, #9)
- **breaking changes**, rename and handle properly sign-bit:
  `{of,to}_int` become `{of,to}_unsigned_int`
  `{of,to}_int32` become `{of,to}_unsigned_int32`
  Previous functions handle sign-bit correctly
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-03-08 09:13:10 by Jaap Boender | Files touched by this commit (214) | Package updated
Log message:
Recursive revbump associated with update of lang/ocaml
   2021-02-03 10:35:31 by Jaap Boender | Files touched by this commit (3) | Package updated
Log message:
Fixed PLIST for devel/ocaml-optint with current dune. Revbump.

In short: the current version of dune doesn't build/install everything
anymore, just what it needs. The PLIST has been updated to reflect that.
   2020-12-02 09:21:44 by Havard Eidnes | Files touched by this commit (2)
Log message:
Update devel/ocaml-optint to version 0.0.4.

Pkgsrc changes:
 * set version# only once

Upstream changes:

v0.0.4 2020-03-09 Paris (France)

 * Fix 32bit backend where we miss to fully apply an invalid_arg
 * Fix 64bit backend where Native.unsigned_compare and
   Nativeint.unsigned_div exists (OCaml 4.08.0)

v0.0.3 2010-09-12 Paris (France)

 * Avoid partial application of function (#2, @dinosaure)
 * Add [@immediate] tag (#4, @dinosaure)
 * Fix select.ml in 32bit (#5, @IndiscriminateCoding)
 * Fix typo (#6, @hannesm)
 * Add fuzzer (#8, @dinosaure)
 * Fix lsr and asr in 64bit (#8, @cfcs, @dinosaure)
 * Optimization on of_int function (64bit) (#8, @cfcs, @dinosaure)
 * Optimization on abs function (64bit) (#8, @cfcs, @dinosaure)
 * Fix 32bit architecture, keep bit-sign in the same place (#8,
   @dinosaure, review @cfcs)

OK'ed by jaapb@