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 PAA32360; Tue, 15 Oct 2002 15:57:58 +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 PAA32454 for ; Tue, 15 Oct 2002 15:57:57 +0200 (MET DST) Received: from mid-1.inet.it (mid-1.inet.it [213.92.5.18]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g9FDvuD01770 for ; Tue, 15 Oct 2002 15:57:56 +0200 (MET DST) Received: from [::ffff:194.185.164.88] by mid-1.inet.it via I-SMTP-4.3.0-430 id ::ffff:194.185.164.88+PXfAccHV2t; Tue, 15 Oct 2002 15:57:56 +0200 Reply-To: From: "Stefano Lanzavecchia" To: Subject: RE: [Caml-list] Problem with ocamlc and recursive and parametrized classes Date: Tue, 15 Oct 2002 15:57:57 +0200 Organization: APL Italiana Message-ID: <000401c27452$ddac6bc0$58a4b9c2@Madoka> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 Importance: Normal In-Reply-To: <3DAC1C98.8080104@fltrp.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > Frederic Tronel wrote: > >To close the thread, I should mention that the compilation > eventually >ends up in almost an hour. So the compiler was not locked > in an >endless loop. I had this feeling. > > According to my experience, if your OCaml program runs too slow, > that's an indicator of bad algorithm or implementation (for instance, > you intend to use a good-enough algorithm, but your > implementation is faulty > due to oversight), rather than bad compiler implementation, > unless you > can narrow the problem down and provide a reproducible case > for the rest > of list to review. As Frederic said in its original message, it's not his programs that takes one hour to run. It's the compiler that needs one hour to compile his program... -- WildHeart'2k2 - mailto:stf@apl.it Homepage: currently offline [[All I Ever Learned, I Learned From Anime: // Love knows no race, species, or logic.]] ------------------- 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