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. _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
