After many battle with `ocamlbuild`, `g++`, `SIGSEGV` (thanks Jeremy) and `LD_LIBRARY_PATH`, we have a inverted stub of decompress (and a *plugin* of `ocamlbuild` to build the shared library). And we have a benchmark to compare the decompress with zlib or another Lz77 compressor at this repository:
https://github.com/dinosaure/lzbench You just put the `libdecompress.so` in `decompress` directory and `make && LD_LIBRARY_PATH=./decompress ./bench -edecompress,4/zlib,4 something` to see the very non-efficient implementation of zlib in OCaml! So if someone is interested by the optimization of decompress, we have a good way to improve this now. Now, I can release the 0.4 version just after I fix a bug with a compression with level = 0. Thanks all for your attention on this project. Cheers, 2016-03-29 12:23 GMT+01:00 Jeremy Yallop <[email protected]>: > On 29 March 2016 at 11:40, Romain Calascibetta > <[email protected]> wrote: > > I have a minor bug (with level compression specificaly, so you can use > > Decompress only with level 4 for the moment and I have another minor bug > > only with the C code of reverse stub). > > I'm curious about the minor bug with reverse stubs C code. If it's a > problem in ctypes, could you please give some details in a GitHub > issue (https://github.com/ocamllabs/ocaml-ctypes/issues/)? > -- Romain Calascibetta - http://din.osau.re/
_______________________________________________ MirageOS-devel mailing list [email protected] http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
