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 IAA09023; Mon, 10 Jun 2002 08:28:49 +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 IAA09031 for ; Mon, 10 Jun 2002 08:28:48 +0200 (MET DST) Received: from relay.pair.com (relay1.pair.com [209.68.1.20]) by nez-perce.inria.fr (8.11.1/8.11.1) with SMTP id g5A6Sk921275 for ; Mon, 10 Jun 2002 08:28:47 +0200 (MET DST) Received: (qmail 45284 invoked from network); 10 Jun 2002 06:28:44 -0000 Received: from adsl-host-sf-228.apexworld.net (HELO checkerlap.d6.com) (66.114.212.228) by relay1.pair.com with SMTP; 10 Jun 2002 06:28:44 -0000 X-pair-Authenticated: 66.114.212.228 Message-Id: <4.3.2.7.2.20020609232056.029ec260@mail.d6.com> X-Sender: checker@mail.d6.com X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Sun, 09 Jun 2002 23:24:29 -0700 To: Blair Zajac , Caml Mailing List From: Chris Hecker Subject: Re: [Caml-list] Timing Ocaml In-Reply-To: <3D043AB6.510307D0@orcaware.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk >* The GNU C compiler gcc is recommended, as the bytecode > interpreter takes advantage of gcc-specific features to enhance > performance. >What is the nature of these optimizations? GCC lets you take the address of a label. You can see in byterun/interp.c that it uses a jump table instead of a switch when you're using GCC. At least, that's what it looks like. Chris ------------------- 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