simonmarhaskell: > Henning Thielemann wrote: > > >The program is compiled with GHC-6.4 and option -O2, CPU clock 1.7 GHz. > > ByteString is much faster with GHC 6.6, IIRC. We optimised the > representation of ForeignPtr, and ByteString takes advantage of that. I > recommend upgrading.
Yes, a 2x speedup isn't uncommon. ByteString is even faster with the GHC head, branch, given the cranked up rules and constructor specialisation. -- Don _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe