On Sat, 12 Jan 2008, Hugh Perkins wrote:

> On Jan 12, 2008 10:19 PM, Rafael Almeida <[EMAIL PROTECTED]> wrote:
> > After some profiling I found out that about 94% of the execution time is
> > spent in the ``isPerfectSquare'' function.
>
> I guess that Haskell's referential transparence means the answers to
> the isPerfectSquare will be cached, ie automatically memoized? (not
> sure if is correct term?)

http://www.haskell.org/haskellwiki/Memoization
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to