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 IAA19376; Wed, 7 Jul 2004 08:47:44 +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 IAA19835 for ; Wed, 7 Jul 2004 08:47:43 +0200 (MET DST) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i676lgEV015982 for ; Wed, 7 Jul 2004 08:47:42 +0200 Received: from ibm3.cicrp.jussieu.fr (ibm3.cicrp.jussieu.fr [134.157.15.3]) by shiva.jussieu.fr (8.12.11/jtpda-5.4) with ESMTP id i676ldYo079942 for ; Wed, 7 Jul 2004 08:47:39 +0200 (CEST) X-Ids: 165 Received: from ibm1.cicrp.jussieu.fr (ibm1.cicrp.jussieu.fr [134.157.15.1]) by ibm3.cicrp.jussieu.fr (8.8.8/jtpda/mob-V8) with ESMTP id IAA155488 for ; Wed, 7 Jul 2004 08:45:47 +0200 Received: from localhost (fernande@localhost) by ibm1.cicrp.jussieu.fr (8.8.8/jtpda/mob-v8) with ESMTP id IAA463022 for ; Wed, 7 Jul 2004 08:45:52 +0200 X-Authentication-Warning: ibm1.cicrp.jussieu.fr: fernande owned process doing -bs Date: Wed, 7 Jul 2004 08:45:51 +0200 (DST) From: Diego Olivier Fernandez Pons X-X-Sender: fernande@ibm1 To: caml-list@inria.fr Subject: [Caml-list] Does Caml have slow arithmetics ? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Miltered: at nez-perce with ID 40EB9C8E.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at shiva.jussieu.fr with ID 40EB9C8B.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Antivirus: scanned by sophie at shiva.jussieu.fr X-Loop: caml-list@inria.fr X-Spam: no; 0.00; pons:01 pons:01 etu:99 arithmetics:01 arithmetics:01 slower:01 'pure':01 fernandez:01 fernandez:01 caml:01 caml:01 olivier:02 olivier:02 pointer:03 trick:03 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Bonjour, Does the Caml integer/pointer bit trick make arithmetics slower (with respect to 'pure' 32 bit arithmetics) because of some mask/shift intermediate operations or is it just the same ? Actually I haven't seen any significative performance difference with respect to a similar C++ code I have done, what I wasn't expecting. That is why I am asking. Diego Olivier ------------------- 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