> Fri, 26 Jan 2001 17:40:17 +0100, Jan Kort <[EMAIL PROTECTED]> pisze:
> 
> > I made a profile and it says most of the time (93%) is spent in
> > the function bar.
> 
> Did you compile with optimization turned on (option -O)?
> I see similar results without -O but quite different with -O.

Without optimisation, you get the native code generator which produces
particularly brain-dead code for floating point on x86 (mainly due to
Intel's brain-dead design of the x86 floating point unit).  With
optimisation, you get gcc.

Cheers,
        Simon

_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to