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 OAA10254; Tue, 11 Jun 2002 14:52:37 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA10251 for ; Tue, 11 Jun 2002 14:52:36 +0200 (MET DST) Received: from mailf.telia.com (mailf.telia.com [194.22.194.25]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g5BCqZH09195 for ; Tue, 11 Jun 2002 14:52:35 +0200 (MET DST) Received: from d1o849.telia.com (d1o849.telia.com [213.66.248.241]) by mailf.telia.com (8.11.6/8.11.6) with ESMTP id g5BCqY725473 for ; Tue, 11 Jun 2002 14:52:34 +0200 (CEST) Received: from gateway (h175n2fls34o849.telia.com [217.208.235.175]) by d1o849.telia.com (8.10.2/8.10.1) with ESMTP id g5BCqYH23757 for ; Tue, 11 Jun 2002 14:52:34 +0200 (CEST) From: "Mattias Waldau" To: Subject: RE: [Caml-list] Timing Ocaml Date: Tue, 11 Jun 2002 14:52:08 +0200 Message-ID: <004601c21146$cbb38d00$0900a8c0@gateway> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk SICStus Prolog had the same problem as O'Caml with VC++. They solved it by first=20 running VC++ and generating ASM-code. Then they have a small Perl-script that rearranges the code, and at=20 last they compile the assembler code using MASM. This improved the performance with 20-30% and in some cases 100%=20 (for very simple byte code instructions where the switch overhead=20 is relatively larger, for example the fameous na=EFve reverse.) /mattias ------------------- 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