Re: Floating point performance

2001-01-26 Thread Marcin 'Qrczak' Kowalczyk
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. -- __("< Marcin Ko

Floating point performance

2001-01-26 Thread Jan Kort
Hi, I noticed ghc (version 4.08.1) floating point performance is really slow on my computer: a 270Mhz sun ultra5. The program below does 1 milion floating point multiplications and takes 2 seconds to run. I made a profile and it says most of the time (93%) is spent in the function bar. Any idea wh