GHC compiled program slower with -O1 than -O0

Neil Mitchell ndmitchell at gmail.com
Mon Mar 19 10:30:58 EDT 2007


Hi,

I've written a Haskell program which goes slower with -O1 (19 seconds)
than -O0 (12 seconds). Is this considered to be a bug? How interested
are you in tracking this down?

The problem is that the code is not yet released, depends on Yhc (both
the libraries and the binary), a few other modules and may well be a
nightmare to reproduce. Even once its reproduced, its a reasonably
large program (52 modules), so isn't going to be particularly fun.

Are you interested in details of how to reproduce, or shall I wait
until I release the program and you have a more stable set of programs
to work against?

Thanks

Neil


More information about the Glasgow-haskell-users mailing list