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

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to