[Haskell-cafe] Performance difference between ghc and ghci

C K Kashyap ckkashyap at gmail.com
Tue Feb 22 09:08:27 CET 2011


>
>
>>
> GHCi doesn't perform any optimizations, so whenever you're running
> interpreted bytecode there's a significant performance hit. However, if you
> compile the code, you can run the compiled/optimized version from GHCi as
> well.
>
> --
>

I missed out the optimization bit .... yes, that would make a difference.
However beyond that is it not just about graph reduction which should be the
same?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110222/3f434c95/attachment-0001.htm>


More information about the Haskell-Cafe mailing list