GHC vs. GCC on raw vector addition

John Meacham john at
Wed Jan 18 20:46:22 EST 2006

On Wed, Jan 18, 2006 at 08:54:43PM +0300, Bulat Ziganshin wrote:
> sorry, with the "gcc -O3 -ffast-math -fstrict-aliasing -funroll-loops"
> the C version is 50 times faster than best Haskell one... it's the
> loop from C version:

I believe something similar to what I noted here is the culprit:

it is fixable, but not without modifying ghc.

John Meacham - ⑆⑆john⑈ 

More information about the Glasgow-haskell-users mailing list