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 <ckkash...@gmail.com> wrote:
> Hi,
> 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
> time.
> If I understand right, in both case tree reduction is what is happening and
> performance should be similar.
> Regards,
> Kashyap

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

Reply via email to