
6 Sep
2006
6 Sep
'06
10:08 a.m.
On Wed, Sep 06, 2006 at 09:44:05AM -0400,
David Roundy
Have you even considered the space costs of this? For almost any non-trivial bit of code I've written, automatic memoization would result in a completely useless binary, as it almost guarantees horrific space leaks.
And a compile-time option, where the programmer explain which functions should be memoized? ghc -fmemoize=foo,bar darcs.hs