[Haskell-cafe] [Somewhat OT] Speed

Andrew Coppin andrewcoppin at btinternet.com
Tue Oct 28 15:31:09 EDT 2008


Hi guys.

This isn't specifically to do with Haskell, but... does anybody have any 
idea roughly how fast various CPU operations are?

For example, is integer arithmetic faster or slower than floating-point? 
Is addition faster or slower than multiplication? How much slower are 
the trigonometric functions? etc. Does using 8-bit integers make 
arithmetic any faster than using wider values?

Does anybody have a good resource for this kind of information?



More information about the Haskell-Cafe mailing list