[Haskell-cafe] Performance difference between ghc and ghci
Roel van Dijk
vandijk.roel at gmail.com
Tue Feb 22 08:48:49 CET 2011
In general code compiled with GHC will be a lot faster than code
interpreted by GHCI. You can also call compiled code from within GHCI,
in which case you would hardly see a performance difference.
On 22 February 2011 08:26, C K Kashyap <ckkashyap at gmail.com> wrote:
> Is there a runtime performance difference between a haskell program running
> under GHCI vs in its compiled form?
> Especially for a long running program - as in, ignoring the initial setup
> If I understand right, in both case tree reduction is what is happening and
> performance should be similar.
More information about the Haskell-Cafe