[Haskell-cafe] [RFC] benchmarks of bytestrings, teaser

Peter Lund firefly at vax64.dk
Sat Dec 15 23:12:22 EST 2007


On Sun, 2007-12-16 at 04:53 +0100, Daniel Fischer wrote:

> > Hmm. Lazy accumulator eh, on String?  Should exhibit a space leak.
> 
> Doesn't (with -O2, at least), seems ghc's strictness analyser did a good job.
> It is indeed about 10* slower than ByteStrings, but very memory friendly - 

Daniel is right, there's no space leak.

Try it.  You'll get a nice surprise :)

-Peter



More information about the Haskell-Cafe mailing list