[Haskell-cafe] Re: [Somewhat OT] Speed

Matti Niemenmaa matti.niemenmaa+news at iki.fi
Tue Oct 28 15:55:22 EDT 2008

Andrew Coppin wrote:
> 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?


Very recommended reading if you're doing optimization at that level.

More information about the Haskell-Cafe mailing list