On 22 November 2005 10:07, Dusan Kolar wrote:
My question is rather strange, maybe, even if simple:
Does ghci always translates with -O option set on?
I didn't see anyone answer this specific question: the answer is no,
GHCi does not optimise. Optimisation cannot be used when interpreting,
| Anyway, it's strange that you are experiencing crashes. IIRC, there
| were problems if you mixed modules compiled with different levels of
| optimisation in the same program, but I am not sure it still happens.
If you can make a reproducible crash, please tar it up and send it to
us. It
On Wed, Nov 23, 2005 at 08:48:04AM -, Simon Peyton-Jones wrote:
| Anyway, it's strange that you are experiencing crashes. IIRC, there
| were problems if you mixed modules compiled with different levels of
| optimisation in the same program, but I am not sure it still happens.
If you can
Hello all,
My question is rather strange, maybe, even if simple:
Does ghci always translates with -O option set on?
I've done some measurements on an application
using ghc and ghci.
ghc compiled with no opmitization = program running
real988m59.260s
user989m1.325s
sys 0m0.704s
On Tue, Nov 22, 2005 at 11:07:07AM +0100, Dusan Kolar wrote:
To be honest, I don't mind ghci optimizes always
but saying it uses the same options as ghc is not
entirely true and, for optimization, it's quite painful
because one searches error where it is not.
I think the real source of your