
Bulat Ziganshin wrote:
Hello Richard,
In July 2007 -O2 was documented in GHC as making no difference to the speed of programs :
http://www.haskell.org/pipermail/haskell-cafe/2007-July/029118.html
it's because ghc is 15 years old and its documentation may be not updated as things changes :)
and from this thread
http://www.haskell.org/pipermail/haskell-cafe/2008-April/042155.html
it appears to be currently unused for splitAt.
i've read this thread. it was just assumption - don't believe it before you have checked it
Hello Bulat, Yes it was just a plausible guess, but not contradicted by the experts. And that was using the Windows version of GHC so other versions may have better optimisation. I don't know how to check, maybe the experts can illuminate the subject? Richard.