
28 Oct
2008
28 Oct
'08
3:55 p.m.
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?
http://www.agner.org/optimize/ Very recommended reading if you're doing optimization at that level.