[Haskell-cafe] newbie questions (read, etc., with Data.ByteString.Lazy.Char8)

Don Stewart dons at galois.com
Tue Oct 7 00:27:52 EDT 2008


666wman:
>    just for the kicks i tried the new version of bytestring without -O2 and
>    the results were even worse:

Note that without -O or -O2 no strictness analysis is performed. So that
tail recursive loop ... won't be. You could try -Onot -fstrictness just
for kicks, to see why strictness analysis is important when writing in a
tail recursive style.

-- Don


More information about the Haskell-Cafe mailing list