From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id D728BBBAF for ; Sat, 6 Sep 2008 12:38:46 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvMCAN/6wUjUNQVbb2dsb2JhbACSOAEKBAsHD6BYgWWDMQ X-IronPort-AV: E=Sophos;i="4.32,344,1217800800"; d="scan'208";a="16898352" Received: from postbode01.versateladsl.be ([212.53.5.91]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 06 Sep 2008 12:38:46 +0200 Received: (qmail 1213 invoked by uid 0); 6 Sep 2008 10:38:25 -0000 Received: from unknown (HELO poincare.swapping.umh.ac.be) ([83.182.218.19]) (envelope-sender ) by smtp.versateladsl.be (qmail-ldap-1.03) with SMTP for < >; 6 Sep 2008 10:38:25 -0000 Received: from [127.0.0.1] (helo=localhost ident=trch) by poincare.swapping.umh.ac.be with esmtp (Exim 4.69) (envelope-from ) id 1KbvBh-0000vs-Qw; Sat, 06 Sep 2008 12:38:41 +0200 Date: Sat, 06 Sep 2008 12:38:41 +0200 (CEST) Message-Id: <20080906.123841.701792179953668400.Christophe.Troestler+ocaml@umh.ac.be> To: rajb@rice.edu Cc: OCaml Mailing List Subject: Re: [Caml-list] Native code compile time question From: Christophe TROESTLER In-Reply-To: <48C15DA2.6060800@rice.edu> References: <48C15DA2.6060800@rice.edu> X-Face: #2fb%mPx>rRL@4ff~TVgZ"<[:,oL"`TUEGK/[8/qb58~C>jR(x4A+v/n)7BgpEtIph_neoLKJBq0JBY9:}8v|j Organization: University of Mons-Hainaut X-Mailer: Mew version 6.0.51 on Emacs 22.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam: no; 0.00; christophe:01 troestler:01 christophe:01 troestler:01 ocaml:01 ocaml:01 compiler:01 bytecode:01 compiler:01 ocamlopt:01 bytecode:01 ocamlopt:01 wrote:01 compile:01 compile:01 Hi, On Fri, 05 Sep 2008 11:26:10 -0500, Raj Bandyopadhyay wrote: > > On using my code generator on a large program, I generate a file > containing about 75K lines of OCaml. The native code compiler takes > more than 30 *minutes* to compile this file! The bytecode compiler > takes about 5 secs. Are you speaking of ocamlopt (a bytecode program) or ocamlopt.opt (a native code program) ? C.