
[mailto:haskell-cafe-bounces@haskell.org] On Behalf Of Andrew Coppin
Donald Bruce Stewart wrote:
Some things to remember using Doubles:
* {-# OPTIONS -fexcess-precision #-} * -fvia-C * -fbang-patterns * -optc-O2 -optc-mfpmath=sse -optc-msse2 * -optc-march=pentium4
1. What do all those things do? 2. Is the effect actually that large?
Large? Depends what you mean by large, but adding a few flags to get just a 10-20% speedup isn't to be ignored: http://www.haskell.org/haskellwiki/Performance/GHC#Crank_up_the_gcc_flag s http://www.haskell.org/haskellwiki/Performance/Floating_Point Alistair ***************************************************************** Confidentiality Note: The information contained in this message, and any attachments, may contain confidential and/or privileged material. It is intended solely for the person(s) or entity to which it is addressed. Any review, retransmission, dissemination, or taking of any action in reliance upon this information by persons or entities other than the intended recipient(s) is prohibited. If you received this in error, please contact the sender and delete the material from any computer. *****************************************************************