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 GAA03971; Wed, 17 Oct 2001 06:11:24 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 GAA04036 for ; Wed, 17 Oct 2001 06:11:22 +0200 (MET DST) Received: from hotmail.com (f199.law15.hotmail.com [64.4.23.199]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f9H4BLT29438 for ; Wed, 17 Oct 2001 06:11:22 +0200 (MET DST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 16 Oct 2001 21:11:20 -0700 Received: from 164.107.3.54 by lw15fd.law15.hotmail.msn.com with HTTP; Wed, 17 Oct 2001 04:11:20 GMT X-Originating-IP: [164.107.3.54] From: "Jeremy Fincher" To: rolf.wester@ilt.fhg.de, caml-list@inria.fr Subject: Re: [Caml-list] OCaml speed Date: Wed, 17 Oct 2001 00:11:20 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 17 Oct 2001 04:11:20.0537 (UTC) FILETIME=[C6B2D490:01C156C1] Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Try compiling with the -unsafe option. The speed difference is most likely largely due to the bounds-checking that .() does by default. Jeremy >ocamlopt -o aa_ml unix.cmxa aa.ml _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr