Thanks Davorak. It worked miraculously when I first tried it
Wow. This worked like a charm when I first used it, but then when I
recompiled pipes-attoparsec, it diverged.
I then realized that I had adjusted the version of the module I was playing
with so that
`parseL` didn't begin
x <- next (p0 >-> P.filter (/= mempty))
but
x <- next p0
I wonder if the same happened with you Davorak? I'm not yet following why
this should be, but when I scrap the filter, I get
$ time ./iostreamsbench2 pipes1
12500002500000
real 0m4.379s
$ time ./iostreamsbench2 streams
12500002500000
real 0m1.221s
But then when I recompile with the updated `pipes-attoparsec` it diverges.
Then I realized I had got rid of the
`next (p >-> filter (/= mempty)` in the first line of `parseL`, while
investigating. Maybe Davorak
did the same?
--
You received this message because you are subscribed to the Google Groups
"Haskell Pipes" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].