From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: ** X-Spam-Status: No, score=2.0 required=5.0 tests=HTML_00_10,HTML_MESSAGE, SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 5A2E9BC69 for ; Thu, 9 Nov 2006 19:30:57 +0100 (CET) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id kA9IUu2t032161 for ; Thu, 9 Nov 2006 19:30:56 +0100 Received: by py-out-1112.google.com with SMTP id f47so140048pye for ; Thu, 09 Nov 2006 10:30:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=RJFZ2+dcHkN1b1PzmsyuawoRHb58J/8rsaMMaCqbc3JzQx76a8KZhpywWcTzosciR6NLUPqKhKaB8+CETXHvCrTLHN/yWDwwPjhCshsiyHZ91yhvm+qdh0NGLC7wY+UKCqOozAgDFUXZshAfaOaAYAs/ln2L+RhwajYoPGX0DIE= Received: by 10.35.27.1 with SMTP id e1mr1496955pyj.1163097051449; Thu, 09 Nov 2006 10:30:51 -0800 (PST) Received: by 10.35.113.4 with HTTP; Thu, 9 Nov 2006 10:30:50 -0800 (PST) Message-ID: <6aeedf580611091030n30ddd9ddjdce831076761bc3@mail.gmail.com> Date: Thu, 9 Nov 2006 18:30:50 +0000 From: "=?ISO-8859-1?Q?D=E1rio_Abdulrehman?=" To: caml-list@yquem.inria.fr Subject: [Caml-list] using BigArray to mmap huge binary file MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_66918_31193467.1163097050681" X-j-chkmail-Score: MSGID : 455373E0.001 on discorde : j-chkmail score : X : 0/20 1 X-Miltered: at discorde with ID 455373E0.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; bigarray:01 bigarrays:01 ocaml:01 compares:01 ocaml:01 bigarrays:01 compares:01 rio:98 caml-list:01 lisp:01 lisp:01 binary:01 binary:01 data:02 data:02 ------=_Part_66918_31193467.1163097050681 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I have a huge binary data file that I would like to memory map for intensive reading (no writing) with the best possible performance. I read some discussions about using BigArrays to achieve this in Ocaml. I would like to know how this solution compares with the C language mmap. Please bear in mind I am a total newbie to Ocaml but I have good Common Lisp experience. Thanks. ------=_Part_66918_31193467.1163097050681 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,

I have a huge binary data file that I would like to memory map for intensive reading (no writing) with the best possible performance. 
I read some discussions about using BigArrays to achieve this in Ocaml.  I would like to know how this solution compares with the C language mmap.
Please bear in mind I am a total newbie to Ocaml but I have good Common Lisp experience.

Thanks.
------=_Part_66918_31193467.1163097050681--