[Haskell-cafe] Haskell performance question

Bulat Ziganshin bulat.ziganshin at gmail.com
Thu Nov 8 16:19:30 EST 2007


Hello Dan,

Thursday, November 8, 2007, 10:12:04 PM, you wrote:

> The strictness gave me something like a 10% performance increase
> making the Haskell code more than 10 times slower than the C. Is this
> the right type of array to use for performance?

yes. but ghc is especially slow doing FP arithmetics. in my own simple
test ( a[i]=b[i]+c[i] ) it's 20x slower than gcc, so your results
aren't surprising

-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list