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 EAA20114; Sat, 14 Jul 2001 04:27:05 +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 EAA20060 for ; Sat, 14 Jul 2001 04:27:04 +0200 (MET DST) Received: from verdot.inria.fr (verdot.inria.fr [128.93.11.7]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f6E2R1T03964; Sat, 14 Jul 2001 04:27:02 +0200 (MET DST) Received: (from ddr@localhost) by verdot.inria.fr (8.9.3/8.9.3) id EAA24274; Sat, 14 Jul 2001 04:27:01 +0200 Date: Sat, 14 Jul 2001 04:27:01 +0200 From: Daniel de Rauglaudre To: "Alexander V. Voinov" Cc: "caml-list@inria.fr" Subject: Re: [Caml-list] Generation of streams is slow Message-ID: <20010714042701.A24266@verdot.inria.fr> References: <3B4F70D7.82E58A91@quasar.ipa.nw.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0us In-Reply-To: <3B4F70D7.82E58A91@quasar.ipa.nw.ru>; from avv@quasar.ipa.nw.ru on Fri, Jul 13, 2001 at 03:06:15PM -0700 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, On Fri, Jul 13, 2001 at 03:06:15PM -0700, Alexander V. Voinov wrote: > I've run the following program and found it to be extremely slow. Why? To be optimized, streams and parsers must be preprocessed by Camlp4. If they are not, their code is longer, not tail recursive and can be very very slow indeed. Compile you file with the option -pp camlp4o. -- Daniel de RAUGLAUDRE daniel.de_rauglaudre@inria.fr http://cristal.inria.fr/~ddr/ ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr