From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA02843; Thu, 5 Aug 2004 18:00:47 +0200 (MET DST) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id SAA02594 for ; Thu, 5 Aug 2004 18:00:46 +0200 (MET DST) Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i75G0jmL017394 for ; Thu, 5 Aug 2004 18:00:45 +0200 Received: from di.ens.fr (di.ens.fr [129.199.99.1]) by nef.ens.fr (8.12.11/1.01.28121999) with ESMTP id i75G0iS6005232 ; Thu, 5 Aug 2004 18:00:44 +0200 (CEST) Received: from basilic.ens.fr (monniaux@basilic [129.199.99.48]) by di.ens.fr (8.12.9/jb-1.1) id i75G0fYR021538 ; Thu, 5 Aug 2004 18:00:41 +0200 (MEST) Received: from localhost (monniaux@localhost) by basilic.ens.fr (8.11.0/jb-1.1) id i75G0d122191 ; Thu, 5 Aug 2004 18:00:39 +0200 (MEST) X-Authentication-Warning: basilic.ens.fr: monniaux owned process doing -bs Date: Thu, 5 Aug 2004 18:00:39 +0200 (MEST) From: David Monniaux X-Sender: monniaux@basilic.ens.fr To: effbiae@ivorykite.com cc: caml-list@inria.fr Subject: Re: [Caml-list] what magic is this? In-Reply-To: <42110.60.246.254.84.1091604455.squirrel@www.ivorykite.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Virus-Scanned: by amavisd-milter (http://amavis.org/) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.3.3 (nef.ens.fr [129.199.96.32]); Thu, 05 Aug 2004 18:00:44 +0200 (CEST) X-Miltered: at nez-perce with ID 411259AD.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; monniaux:01 monniaux:01 caml-list:01 2004:99 ocamlopt:01 linked:01 compiler:01 bigarray:01 bigarray:01 primitives:01 external:03 external:03 module:03 overhead:03 wrote:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Wed, 4 Aug 2004 effbiae@ivorykite.com wrote: > i've started writing a mmap module. i'm looking at the source to bigarray > to see how it's done. in bigarray.ml, external functions > Array1.{get,set} are linked to "%bigarray_{ref,set}_1" External functions starting with a % are primitives that are directly compiled by the ocamlopt compiler into specific code, without the overhead of a function call. David Monniaux http://www.di.ens.fr/~monniaux Laboratoire d'informatique de l'École Normale Supérieure, Paris, France ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners