haskell-cafe@haskell.org
[Top] [All Lists]

Re: [Haskell-cafe] does the compiler optimize repeated calls?

Subject: Re: [Haskell-cafe] does the compiler optimize repeated calls?
From: "Eric Kow"
Date: Wed, 6 Sep 2006 14:48:51 +0200
Hi,

On 9/6/06, Tamas K Papp <tpapp@xxxxxxxxxxxxx> wrote:
or does the compiler perform this optimization?  More generally, if a
function is invoked with the same parameters again (and it doesn't
involve anything like monads), does does it makes sense
(performancewise) to "store" the result somewhere?

I was wondering something like this too, and then I found this email:
http://www.haskell.org/pipermail/glasgow-haskell-bugs/2004-December/004530.html

So I guess it is as Stephane said: theoretically possible but not actually done?

--eric the perpetual newbie

--
Eric Kow                     http://www.loria.fr/~kow
PGP Key ID: 08AC04F9         Merci de corriger mon franÃais.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/haskell-cafe
<Prev in Thread] Current Thread [Next in Thread>