ghc and signal processing

Jeremy Shaw jeremy.shaw at lindows.com
Mon Feb 23 14:15:04 EST 2004


Hrm,

I am going to do some new test tonight. I think my test environment
may have been bad...

Jeremy Shaw.


At Mon, 23 Feb 2004 13:37:45 -0800,
Mike Gunter wrote:
> 
> 
> Hmmm.  With -O2 on GHC 6.2, I get 0.177s, 0.217s, and 0.348s for your
> three Haskell examples and 0.187s (with gcc -O2) for your C example.
> The output of -ddump-simpl for the looks perfect for the second
> Haskell example.  My GHC seems to be doing a bang-up job here.  What's
> wrong with yours?  (For the third example GHC's code could be improved
> by additional inlining or hoisting of a constant array outside of the
> loop.)
> 
> 	mike
> 


More information about the Glasgow-haskell-users mailing list