
15 Dec
2007
15 Dec
'07
11:12 p.m.
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