[Haskell-cafe] newbie questions (read, etc.,
Brandon S. Allbery KF8NH
allbery at ece.cmu.edu
Mon Oct 6 23:59:06 EDT 2008
On 2008 Oct 6, at 23:54, wman wrote:
> just for the kicks i tried the new version of bytestring without -O2
> and the results were even worse:
Yep, ByteString does a lot of stuff that is really bad when GHC isn't
performing stream fusion --- but when it is, the code compiles down to
tight machine code that can rival C.
> is there a reason why -O2 shouldn't be made the default (and
> allowing to turn off optimizations by -O0 perhaps) ?
-O2 breaks on some platforms, I think.
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university KF8NH
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe