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 XAA30072; Tue, 14 May 2002 23:59:08 +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 XAA30068 for ; Tue, 14 May 2002 23:59:04 +0200 (MET DST) Received: from comtv.ru (comtv.ru [217.10.32.4]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g4ELx2n02541; Tue, 14 May 2002 23:59:03 +0200 (MET DST) Received: from [10.0.66.9] ([10.0.66.9] verified) by comtv.ru (CommuniGate Pro SMTP 3.5.9) with ESMTP id 3090856; Wed, 15 May 2002 01:58:35 +0400 Date: Wed, 15 May 2002 02:00:53 -0400 (EDT) From: malc X-Sender: malc@home.oyster.ru To: Oliver Bandel cc: Francois Pottier , caml-list@inria.fr Subject: Re: [Caml-list] Turning off type-checking In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Tue, 14 May 2002, Oliver Bandel wrote: > On Tue, 14 May 2002, Francois Pottier wrote: > > [...] > > O'Caml's type inference algorithm is sub-optimal for at least one > > reason: it performs the occurs check at every unification step, > > instead of delaying it until the current `let' binding is exited. > > Would it help to use the Lazy-module and rewrite some parts > od the application that uses so much time, if written "unlazy"? > > BTW: When (in which kind of application) does the Lazy-module > really helps increasing performance? The compiler itself uses Lazy in environment manager (typing/env.ml) Xavier et al can probably shed more light on benefits. -- mailto:malc@pulsesoft.com ------------------- 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