
23 Feb
2011
23 Feb
'11
10:56 p.m.
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 optimization.