From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id KAA14859 for caml-red; Sat, 26 Aug 2000 10:25:50 +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 WAA29307 for ; Fri, 25 Aug 2000 22:21:51 +0200 (MET DST) Received: from pinochet.cityline.ru (pinochet.cityline.ru [195.46.160.34]) by nez-perce.inria.fr (8.10.0/8.10.0) with ESMTP id e7PKLn519675 for ; Fri, 25 Aug 2000 22:21:50 +0200 (MET DST) Received: from home.oyster.ru (145.168.06.dn.dialup.cityline.ru [195.46.168.145]) by pinochet.cityline.ru (8.10.2/t/08-Oct-1998) with ESMTP id e7PKLU111164 for ; Sat, 26 Aug 2000 00:21:40 +0400 (MSD) Date: Sat, 26 Aug 2000 00:22:23 +0400 (MSD) From: malc X-Sender: malc@home.oyster.ru To: caml-list@inria.fr Subject: Native code compiler Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: weis@pauillac.inria.fr Can someone please explain me why ocamlopt spends so much time compiling one of examples in lablGL(and some of my code which was based on this example) --- [malc@oyster examples]$ time ocamlc.opt -labels -I /usr/lib/ocaml/labltk -I /usr/lib/ocaml/lablGL labltk.cma lablgl.cma togl.cmo gears.ml real 0m1.957s user 0m1.400s sys 0m0.540s [malc@oyster examples]$ time ocamlopt.opt -labels -I /usr/lib/ocaml/labltk -I /usr/lib/ocaml/lablGL labltk.cmxa lablgl.cmxa togl.cmx gears.ml real 1m35.531s user 1m31.760s sys 0m0.800s [malc@oyster examples]$ uname -a Linux oyster 2.2.14-5.0 #5 Sat May 13 06:34:58 MSD 2000 i586 unknown [malc@oyster examples]$ ocamlc -v The Objective Caml compiler, version 3.00 Standard library directory: /usr/lib/ocaml --- Im at the point where i can no longer afford bytecode(and if nothing else id have to resort to C++, which is pretty disgusting idea), so any hints will be greatly apreciated. -- mailto:malc@pulsesoft.com