Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Generation of streams is slow
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] Generation of streams is slow

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.

Bug reports:  FAQ:
To unsubscribe, mail  Archives: