[Haskell-cafe] Performance difference between ghc and ghci

Henning Thielemann schlepptop at henning-thielemann.de
Wed Feb 23 23:56:07 CET 2011

Roel van Dijk schrieb:
> 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.

$ ghci -fobject-code

compiles modules before loading into the interpreter environment.
However expressions entered into GHCi will not be compiled with

More information about the Haskell-Cafe mailing list