pkgsrc-WIP-cvs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: wip/ocaml-bin_prot

Module name:	wip
Committed by:	jgoamakf
Date:		Fri Feb 13 08:54:40 UTC 2015

Modified Files:
	wip/ocaml-bin_prot: Makefile PLIST distinfo

Log Message:
Update ocaml-bin_prot to 112.17.00.

Changes from previous:
## 112.17.00

- Added `Bin_prot.Blob`, formerly known as `Core_extended.Wrapped`,
  which has efficient handling of size-prefixed bin-io values in cases
  where serialization can be bypassed.

## 112.06.00

- Sped up `float` and `float array` operations.
- Removed a use of `Obj.magic` in code generated by `pa_bin_prot` for
  polymorphic variants that led to memory unsafety.

    Previously, `pa_bin_prot` generated this kind of code for
    polymorphic variants:

        match Obj.magic (read_int buf pos) with
        | `A as x -> x
        | `B as x -> x
        | `C -> `C (read_float buf pos)
        | _ -> fail

    and this caused the compiler to assume the result is an immediate
    value.  To fix this we removed the `as x -> x` and used the computed
    integer hash.

To generate a diff of this commit:
cvs -z3 rdiff -u -r1.2 -r1.3 wip/ocaml-bin_prot/PLIST \
cvs -z3 rdiff -u -r1.5 -r1.6 wip/ocaml-bin_prot/Makefile

To view a diff of this commit:

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now.
pkgsrc-wip-cvs mailing list

Home | Main Index | Thread Index | Old Index