From: Adrien <camaradetux@gmail.com>
To: Francois Berenger <berenger@riken.jp>
Cc: caml-list <caml-list@inria.fr>,
batteries-devel@lists.forge.ocamlcore.org
Subject: Re: [Caml-list] Any library for reading/writing compressed files?
Date: Mon, 21 May 2012 08:11:33 +0200 [thread overview]
Message-ID: <CAP5QFJ=NtGaMhiKv8js4EssbJh5tkfWOTvOuqXd=t_EcD8b+nA@mail.gmail.com> (raw)
In-Reply-To: <4FB9985C.6040002@riken.jp>
You should check the bitmasks and Marshal's output with a binary
editor. There's probably at least one thing to learn.
This is with 2.1MB of zeroes.
8:08 ~ % dd if=/dev/zero of=Z.mask bs=1M count=2
2+0 records in
2+0 records out
2097152 bytes (2.1 MB) copied, 0.00606737 s, 346 MB/s
8:09 ~ % gzip -1v Z.mask
Z.mask: 99.6% -- replaced with Z.mask.gz
8:09 ~ % ls -lh Z.mask.gz
-rw-r--r-- 1 adrien users 9.0K May 21 08:09 Z.mask.gz
--
Adrien Nader
next prev parent reply other threads:[~2012-05-21 6:11 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-15 1:48 [Caml-list] Any tool for unit tests as comments in OCaml source? Francois Berenger
2012-05-15 2:08 ` Thibault Suzanne
2012-05-15 2:08 ` Edgar Friendly
[not found] ` <4FB1B60F.3060408@riken.jp>
2012-05-15 2:12 ` [Caml-list] Any library for reading/writing compressed files? Francois Berenger
2012-05-18 22:14 ` Richard W.M. Jones
2012-05-19 1:25 ` Adrien
2012-05-19 1:27 ` Adrien
2012-05-21 1:20 ` Francois Berenger
2012-05-21 6:11 ` Adrien [this message]
2012-05-15 5:29 ` [Caml-list] Any tool for unit tests as comments in OCaml source? Cedric Cellier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAP5QFJ=NtGaMhiKv8js4EssbJh5tkfWOTvOuqXd=t_EcD8b+nA@mail.gmail.com' \
--to=camaradetux@gmail.com \
--cc=batteries-devel@lists.forge.ocamlcore.org \
--cc=berenger@riken.jp \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox