[Haskell-cafe] Memoization-question

Daniel Fischer daniel.is.fischer at web.de
Thu Dec 11 16:22:46 EST 2008


Am Donnerstag, 11. Dezember 2008 21:56 schrieb Bulat Ziganshin:
> Hello Daniel,
>
> Thursday, December 11, 2008, 11:49:40 PM, you wrote:
>
> sorry for noise, it seems that i know ghc worse than you

If only that were true.
I just know that GHC's optimiser can do some rather impressive stuff when 
given appropriate types, so I tried.
Meanwhile, I've confirmed that it does share (for Int and Integer) with -O1 
and -O2, but not with -O0, by looking at the generated core.

Cheers,
Daniel


More information about the Haskell-Cafe mailing list